X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fclose-stream.c;fp=lib%2Fclose-stream.c;h=cf0422f3d80835561cf37cbe793726c7067a765b;hb=a2016c1de6e4884f6c8ed5cc498f3bf821c25ca4;hp=59ab616b1ea43eb3ccef77aed89d13175bec4607;hpb=c7e61475680fa226bd9b8bdd469cd66914e630f5;p=debian%2Fgzip diff --git a/lib/close-stream.c b/lib/close-stream.c index 59ab616..cf0422f 100644 --- a/lib/close-stream.c +++ b/lib/close-stream.c @@ -1,7 +1,6 @@ /* Close a stream, with nicer error checking than fclose's. - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2006, 2007, 2008 Free - Software Foundation, Inc. + Copyright (C) 1998-2002, 2004, 2006-2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -71,7 +70,7 @@ close_stream (FILE *stream) if (prev_fail || (fclose_fail && (some_pending || errno != EBADF))) { if (! fclose_fail) - errno = 0; + errno = 0; return EOF; }