summaryrefslogtreecommitdiff
path: root/games/cake/files/patch-cake::files.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--games/cake/files/patch-cake::files.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/cake/files/patch-cake::files.cpp b/games/cake/files/patch-cake::files.cpp
new file mode 100644
index 000000000000..4140e1e50437
--- /dev/null
+++ b/games/cake/files/patch-cake::files.cpp
@@ -0,0 +1,18 @@
+--- cake/files.cpp.orig Sat Jul 17 20:36:55 2004
++++ cake/files.cpp Sat Jul 17 20:40:54 2004
+@@ -772,7 +772,6 @@
+
+ if (handle == NULL)
+ {
+- closedir(handle);
+ gConsole->Insertln("^1handle == NULL: %d - %s", errno, strerror(errno));
+ if (temp_pat) delete [] temp_pat;
+ temp_pat = NULL;
+@@ -860,7 +859,6 @@
+
+ if (handle == NULL)
+ {
+- closedir(handle);
+ gConsole->Insertln("^1handle == NULL: %d - %s", errno, strerror(errno));
+ if (temp_pat) delete [] temp_pat;
+ temp_pat = NULL;