X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gettext-tools%2Flibgettextpo%2Ffwriteerror.c;h=bb881a5bf3eda0b0f5a64704253cab13118804d0;hb=5d61132f836323aaf2879e04abc9d4056db248a2;hp=c2eab1b02df3dc96d2400ba91ba040ec2a36bed0;hpb=90a3363ce7c017439e9953fd5e832fbef8db0dd5;p=platform%2Fupstream%2Fgettext.git diff --git a/gettext-tools/libgettextpo/fwriteerror.c b/gettext-tools/libgettextpo/fwriteerror.c index c2eab1b..bb881a5 100644 --- a/gettext-tools/libgettextpo/fwriteerror.c +++ b/gettext-tools/libgettextpo/fwriteerror.c @@ -1,5 +1,5 @@ /* Detect write error on a stream. - Copyright (C) 2003-2006, 2008-2010 Free Software Foundation, Inc. + Copyright (C) 2003-2006, 2008-2013 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software: you can redistribute it and/or modify @@ -42,7 +42,7 @@ do_fwriteerror (FILE *fp, bool ignore_ebadf) or if fclose failed, with two exceptions: - 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 >&-' + happen when a program like cp 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). - Ignore an fclose failure due to EPIPE. That can happen when a