aboutsummaryrefslogtreecommitdiffstats
path: root/games/atomix
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>2000-02-05 21:57:19 +0800
committernakai <nakai@FreeBSD.org>2000-02-05 21:57:19 +0800
commit68690e87561ad0e44e724ff5b32cc348a9bf7124 (patch)
tree9ee1378b44d00fc85ed0328870a44b30fe35b0b5 /games/atomix
parent183821325c70f0f88bb45efc9e7c37e1b697cc67 (diff)
downloadfreebsd-ports-gnome-68690e87561ad0e44e724ff5b32cc348a9bf7124.tar.gz
freebsd-ports-gnome-68690e87561ad0e44e724ff5b32cc348a9bf7124.tar.zst
freebsd-ports-gnome-68690e87561ad0e44e724ff5b32cc348a9bf7124.zip
Add closedir() fix patches.
Submitted by: Brian Fundakowski Feldman green@FreeBSD.org
Diffstat (limited to 'games/atomix')
-rw-r--r--games/atomix/files/patch-aa14
-rw-r--r--games/atomix/files/patch-ab15
2 files changed, 29 insertions, 0 deletions
diff --git a/games/atomix/files/patch-aa b/games/atomix/files/patch-aa
new file mode 100644
index 000000000000..e4148aa066f0
--- /dev/null
+++ b/games/atomix/files/patch-aa
@@ -0,0 +1,14 @@
+--- src/level.c.orig Sat Feb 5 22:50:24 2000
++++ src/level.c Sat Feb 5 22:50:51 2000
+@@ -164,10 +164,10 @@
+ g_free(filepath);
+ }
+ }
++ closedir(dir);
+ }
+
+ //g_free(dent);
+- closedir(dir);
+ }
+
+ for(i = 0; i < n_dirs; i++) g_free(search_dirs[i]);
diff --git a/games/atomix/files/patch-ab b/games/atomix/files/patch-ab
new file mode 100644
index 000000000000..9fe4fa3c412a
--- /dev/null
+++ b/games/atomix/files/patch-ab
@@ -0,0 +1,15 @@
+--- src/theme.c.orig Sat Feb 5 22:51:13 2000
++++ src/theme.c Sat Feb 5 22:51:36 2000
+@@ -199,10 +199,10 @@
+ g_free(directory);
+ }
+ }
++ g_free(dent);
++ closedir(dir);
+ }
+
+- g_free(dent);
+- closedir(dir);
+ }
+
+ for(i = 0; i < n_dirs; i++) g_free(search_dirs[i]);