Frozen state generation fails with returncode 0

2008-05-21 Thread Jean-Charles Longuet
When m4 fails to open() the frozen state file, it complains but the process exit code is still 0. However, the same function may trigger failures leading to a non-zero process exit code, for example when the close() of the frozen state file fails. Wouldn't it be consistent to also exit on open()

Re: Frozen state generation fails with returncode 0

2008-05-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [adding m4-patches] According to Jean-Charles Longuet on 5/21/2008 2:10 PM: | | When m4 fails to open() the frozen state file, it complains | but the process exit code is still 0. However, the same function | may trigger failures leading to a non-zer