-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Jim Meyering on 9/4/2009 12:12 PM:
>> copy.c needs to use #if LINK_FOLLOWS_SYMLINKS instead of #ifdef.
>
> Sounds good.
How about the following two patches?
- --
Don't work too hard, make some time for fun as well!
Eric Blake [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkqhc0cACgkQ84KuGfSFAYCI1gCgmZT+j4vtWmqMfkgaWV8ZmMIf
p+IAn1IM10rbFgs9iEvKiIpobG3dC3Yn
=Vm/G
-----END PGP SIGNATURE-----
Index: lib/closein.c
===================================================================
RCS file: /sources/gnulib/gnulib/lib/closein.c,v
retrieving revision 1.1
diff -u -p -r1.1 closein.c
--- lib/closein.c 12 Apr 2007 16:11:40 -0000 1.1
+++ lib/closein.c 12 Apr 2007 20:49:03 -0000
@@ -79,7 +79,7 @@ void
close_stdin (void)
{
bool fail = false;
- if (close_stream (stdin) != 0)
+ if (fflush (stdin) != 0 || close_stream (stdin) != 0)
{
char const *close_error = _("error closing file");
if (file_name)