]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Don't fclose after fwriteerror.
authorBruno Haible <bruno@clisp.org>
Wed, 10 May 2006 11:52:16 +0000 (11:52 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:15 +0000 (12:13 +0200)
gettext-tools/src/write-csharp.c

index dc633d388bdcfab83c98c69c13143f0efc690997..239dd520a4e17f089e9585ee8167cbdcb76eb7a4 100644 (file)
@@ -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;
     }