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