Imported Upstream version 1.4
[debian/gzip] / lib / close-stream.c
index 59ab616b1ea43eb3ccef77aed89d13175bec4607..cf0422f3d80835561cf37cbe793726c7067a765b 100644 (file)
@@ -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;
     }