summaryrefslogtreecommitdiff
path: root/games/sarien
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2003-08-19 18:41:46 +0000
committerdrochner <drochner@pkgsrc.org>2003-08-19 18:41:46 +0000
commit8b5346e03382b51078dfc420336ebc4268ee9beb (patch)
treef58807be850653c90bba243307ebc75aadb9c3eb /games/sarien
parentb7798aab3147e1ca89c6ad4a28204c8729c9e398 (diff)
downloadpkgsrc-8b5346e03382b51078dfc420336ebc4268ee9beb.tar.gz
plug a file descriptor leak
now Larry gets past the first screen
Diffstat (limited to 'games/sarien')
-rw-r--r--games/sarien/distinfo3
-rw-r--r--games/sarien/patches/patch-ab17
2 files changed, 19 insertions, 1 deletions
diff --git a/games/sarien/distinfo b/games/sarien/distinfo
index b98e09309e7..c50037cbfb3 100644
--- a/games/sarien/distinfo
+++ b/games/sarien/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/01/10 16:16:36 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2003/08/19 18:41:46 drochner Exp $
SHA1 (sarien-0.7.0.tar.gz) = f1c3236ed554cbde479fbbfa52cbc95cb9759fde
Size (sarien-0.7.0.tar.gz) = 284109 bytes
SHA1 (patch-aa) = 437bf3108d437f265c97a813a1a1d512003f20b4
+SHA1 (patch-ab) = 0cc8d119e26aca5530bb70342b884e7faa2ad3e9
diff --git a/games/sarien/patches/patch-ab b/games/sarien/patches/patch-ab
new file mode 100644
index 00000000000..43133c0378e
--- /dev/null
+++ b/games/sarien/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1 2003/08/19 18:41:47 drochner Exp $
+
+--- src/filesys/unix/fileglob.c.orig 2003-08-19 20:32:30.000000000 +0200
++++ src/filesys/unix/fileglob.c 2003-08-19 20:33:42.000000000 +0200
+@@ -76,10 +76,12 @@
+ } else {
+ strcpy (path, e->d_name);
+ }
++ closedir(d);
+ return path;
+ }
+ }
+
++ closedir(d);
+ return NULL;
+ }
+