components/zip/patches/01_zipnote.patch
author Rich Burridge <rich.burridge@oracle.com>
Thu, 14 Mar 2013 13:30:55 -0700
changeset 1211 72f88619e71d
parent 653 759bda8e4900
permissions -rw-r--r--
PSARC 2012/354 GNU getopt 1.1.5 15872588 Include GNU getopt in Userland

--- 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 */