From: Bruno Haible Date: Wed, 10 May 2006 11:52:16 +0000 (+0000) Subject: Don't fclose after fwriteerror. X-Git-Tag: v0.15~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74876831116c7b74d440e87a5b59c463c759df87;p=thirdparty%2Fgettext.git Don't fclose after fwriteerror. --- diff --git a/gettext-tools/src/write-csharp.c b/gettext-tools/src/write-csharp.c index dc633d388..239dd520a 100644 --- a/gettext-tools/src/write-csharp.c +++ b/gettext-tools/src/write-csharp.c @@ -730,7 +730,6 @@ but the C# .dll format doesn't support contexts\n"))); if (fwriteerror (csharp_file)) { error (0, errno, _("error while writing \"%s\" file"), csharp_file_name); - fclose (csharp_file); goto quit3; }