Re: Frozen state generation fails with returncode 0

2008-05-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 5/21/2008 9:51 PM: | | Thanks for the report. Which version of m4 was this against? I'm | guessing this was against a release tarball, rather than the current git | repository, since this area of code has changed in the me

Re: Frozen state generation fails with returncode 0

2008-05-22 Thread Jean-Charles Longuet
Eric Blake wrote : 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-zero process exit code, | for example when the clo

Re: Frozen state generation fails with returncode 0

2008-05-22 Thread Eric Blake
Jean-Charles Longuet free.fr> writes: > > As you stated, this was against release 1.4.11. > > I had a look in the git repository, and the open() case seem to handle > errors. However, there are no checks on flose() return value in > produce_frozen_state(). Not sure if you already worked on it