bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: snapshot in a few hours


From: Eric Blake
Subject: Re: snapshot in a few hours
Date: Fri, 04 Sep 2009 14:06:31 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----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             address@hidden
-----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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]