X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fclose-stream.c;h=04fa5ece09d77267af8afb8bcc85c7a9edd246dd;hb=72983fb6b5bd6c7de54465eea29464bb9c0276cf;hp=87a59e4eeac1ad217cbd593f51d1546f5d20fcba;hpb=7baf2c51f930de87d42ccf79abe700714ac3195e;p=gnulib.git diff --git a/lib/close-stream.c b/lib/close-stream.c index 87a59e4ee..04fa5ece0 100644 --- a/lib/close-stream.c +++ b/lib/close-stream.c @@ -1,6 +1,6 @@ /* Close a stream, with nicer error checking than fclose's. - Copyright (C) 1998-2002, 2004, 2006-2010 Free Software Foundation, Inc. + Copyright (C) 1998-2002, 2004, 2006-2012 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 @@ -63,7 +63,7 @@ close_stream (FILE *stream) fclose failed, with one exception: ignore an fclose failure if there was no previous error, no data remains to be flushed, and fclose failed with EBADF. That can happen when a program like cp - is invoked like this `cp a b >&-' (i.e., with standard output + is invoked like this 'cp a b >&-' (i.e., with standard output closed) and doesn't generate any output (hence no previous error and nothing to be flushed). */