summaryrefslogtreecommitdiffstats
path: root/abs/extra/most/most-leak-fd.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-05 15:30:17 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-05 15:30:17 (GMT)
commit17734135b13eeb38e85509bc938a6c1f0aaf4b67 (patch)
tree6dc43c3d9026156cf708ffdf07abaaba48543f32 /abs/extra/most/most-leak-fd.patch
parentda17e445ebb96fe68dde25f5bf4a0f434d8717cb (diff)
downloadlinhes_pkgbuild-17734135b13eeb38e85509bc938a6c1f0aaf4b67.zip
linhes_pkgbuild-17734135b13eeb38e85509bc938a6c1f0aaf4b67.tar.gz
linhes_pkgbuild-17734135b13eeb38e85509bc938a6c1f0aaf4b67.tar.bz2
most : 5.0
Diffstat (limited to 'abs/extra/most/most-leak-fd.patch')
-rw-r--r--abs/extra/most/most-leak-fd.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/extra/most/most-leak-fd.patch b/abs/extra/most/most-leak-fd.patch
new file mode 100644
index 0000000..c8cd2af
--- /dev/null
+++ b/abs/extra/most/most-leak-fd.patch
@@ -0,0 +1,14 @@
+--- most-5.0.0a.orig/src/most.c 2007-06-03 00:03:59.000000000 -0400
++++ most-5.0.0a/src/most.c 2010-12-31 04:42:08.000000000 -0500
+@@ -321,9 +321,11 @@
+ {
+ fprintf (stderr, "fwrite returned %d, errno = %d\n",
+ m, errno);
++ (void) fclose (fp);
+ exit (1);
+ }
+ }
++ (void) fclose (fp);
+ }
+
+ void most_initialize_most (void)