components/zip/patches/01_zipnote.patch
author Stefan Teleman <stefan.teleman@oracle.com>
Wed, 31 Jul 2013 08:09:01 -0700
changeset 1414 9eeb516d9fdd
parent 653 759bda8e4900
permissions -rw-r--r--
15823988 SUNBT7205673-12.0 Upgrade GCC to >= 4.7.2

--- zip30/zipnote.c.old	Tue Jan 10 15:06:10 2012
+++ zip30/zipnote.c	Tue Jan 10 15:08:59 2012
@@ -661,7 +661,7 @@
     if ((r = zipcopy(z)) != ZE_OK)
       ziperr(r, "was copying an entry");
   }
-  fclose(x);
+  fclose(in_file);
 
   /* Write central directory and end of central directory with new comments */
   if ((c = zftello(y)) == (zoff_t)-1)    /* get start of central */