diff options
Diffstat (limited to 'games/gzdoom/fix_zipdir.diff')
-rw-r--r-- | games/gzdoom/fix_zipdir.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/gzdoom/fix_zipdir.diff b/games/gzdoom/fix_zipdir.diff new file mode 100644 index 0000000000000..88fb01696685f --- /dev/null +++ b/games/gzdoom/fix_zipdir.diff @@ -0,0 +1,11 @@ +--- a/tools/zipdir/zipdir.c ++++ b/tools/zipdir/zipdir.c +@@ -781,6 +781,8 @@ + if (central_dir == NULL) + { + fprintf(stderr, "Could not read central directory from %s. (Is it a zipfile?)\n", zipname); ++ fclose(ozip); ++ ozip = NULL; + update = 0; + } + } |