-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 10/14/2006 9:21 AM:
> 
> 2006-10-14  Eric Blake  <[EMAIL PROTECTED]>
> 
>       * m4/input.c (file_clean): Don't close stdin twice, POSIX says it
>       is not portable.
>       Reported by Ralf Wildenhues.

And of course, I now have to adjust the testsuite to match the new error
behavior.  Patch coming soon, but first I'm debating about refactoring the
code a bit to avoid a multi-line error:
$ m4 <&-
m4:stdin:1: error reading file `stdin'
m4: error closing stdin: Bad file descriptor
$ m4 - - <-
$ build/tests/m4 - - <&-
m4:stdin:1: error reading file `stdin'
m4:stdin:1: error reading file `stdin'
m4: error closing stdin: Bad file descriptor

I'm not sure if it would be cleaner to see just:
$ m4 - - <&-
m4: error reading file `stdin'

- --
Life is short - so eat dessert first!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFMQO584KuGfSFAYARAnOIAJ41sOZVEmc1dHwQSnS5HhBv9H8iSQCeNonh
m5HeuWbwJbJDXBUTfZJePPw=
=FH0j
-----END PGP SIGNATURE-----


_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches

Reply via email to