slackbuilds_ponce/games/gzdoom/fix_zipdir.diff
B. Watson 4cd83fb346
games/gzdoom: Add missing patch.
Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2020-11-22 01:14:26 +07:00

11 lines
267 B
Diff

--- 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;
}
}