summaryrefslogtreecommitdiff
path: root/games/atomix
diff options
context:
space:
mode:
authorYukihiro Nakai <nakai@FreeBSD.org>2000-02-05 13:57:19 +0000
committerYukihiro Nakai <nakai@FreeBSD.org>2000-02-05 13:57:19 +0000
commite310f0cfc8707384da1983dfba0777a2801bed5f (patch)
treef76d65dd095c7b3ba887e764fafccba99c88dcec /games/atomix
parentUpdate port to 1.3 (diff)
Add closedir() fix patches.
Submitted by: Brian Fundakowski Feldman green@FreeBSD.org
Notes
Notes: svn path=/head/; revision=25502
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]);