Blame unzip-5.51-link-segv.patch
|
lhh |
7c117f8 |
diff -ur unzip-5.51/unix/unix.c unzip-5.51-lhh/unix/unix.c
|
|
lhh |
7c117f8 |
--- unzip-5.51/unix/unix.c 2004-04-11 20:29:58.000000000 -0400
|
|
lhh |
7c117f8 |
+++ unzip-5.51-lhh/unix/unix.c 2004-11-22 14:34:21.468981000 -0500
|
|
lhh |
7c117f8 |
@@ -1052,7 +1052,9 @@
|
|
lhh |
7c117f8 |
fclose(G.outfile);
|
|
lhh |
7c117f8 |
return;
|
|
lhh |
7c117f8 |
}
|
|
lhh |
7c117f8 |
- fclose(G.outfile); /* close "link" file for good... */
|
|
lhh |
7c117f8 |
+
|
|
lhh |
7c117f8 |
+ if (G.outfile)
|
|
lhh |
7c117f8 |
+ fclose(G.outfile); /* close "link" file for good... */
|
|
lhh |
7c117f8 |
slnk_entry->target[ucsize] = '\0';
|
|
lhh |
7c117f8 |
if (QCOND2)
|
|
lhh |
7c117f8 |
Info(slide, 0, ((char *)slide, "-> %s ",
|