Re: [GNU M4 1.9a] testsuite: 52 59 60 61 62 failed
Eric Blake <[email protected]>
| Newsgroups | gmane.comp.gnu.m4.patches |
|---|---|
| Message-ID | <[email protected]> |
-----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-----