X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnu%2Fclose-stream.c;h=6e3d8658d580e7a179b58ca4e85ae8c30c94ba07;hb=34b42e86af9d37c366a44280d2ba06ad2e2971df;hp=5004f30a6ec20b5993af9e1dadf5a03467ff7d54;hpb=ee168310ec4227174ace489bf5f81f8c2f91cde0;p=debian%2Ftar diff --git a/gnu/close-stream.c b/gnu/close-stream.c index 5004f30a..6e3d8658 100644 --- a/gnu/close-stream.c +++ b/gnu/close-stream.c @@ -1,8 +1,6 @@ -/* -*- buffer-read-only: t -*- vi: set ro: */ -/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ /* 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-2015 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 @@ -65,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). */