summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-12-10 09:06:36 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-12-10 09:06:36 +0000
commitce5f06b22502a58d1a7c5a561453f28ab50db5ee (patch)
tree7081ea5e880391c80356d3e2e906c20a70bcecc0 /media-gfx/xsane/files
parentadd dep on dev-perl/DateTime for --date mode (bug #65376) (Manifest recommit) (diff)
downloadgentoo-2-ce5f06b22502a58d1a7c5a561453f28ab50db5ee.tar.gz
gentoo-2-ce5f06b22502a58d1a7c5a561453f28ab50db5ee.tar.bz2
gentoo-2-ce5f06b22502a58d1a7c5a561453f28ab50db5ee.zip
Fixing #73618
Diffstat (limited to 'media-gfx/xsane/files')
-rw-r--r--media-gfx/xsane/files/digest-xsane-0.96-r11
-rw-r--r--media-gfx/xsane/files/doublefree.patch22
2 files changed, 23 insertions, 0 deletions
diff --git a/media-gfx/xsane/files/digest-xsane-0.96-r1 b/media-gfx/xsane/files/digest-xsane-0.96-r1
new file mode 100644
index 000000000000..e0b42d717937
--- /dev/null
+++ b/media-gfx/xsane/files/digest-xsane-0.96-r1
@@ -0,0 +1 @@
+MD5 32e4693c207d0380436c76096f8c157c xsane-0.96.tar.gz 3173665
diff --git a/media-gfx/xsane/files/doublefree.patch b/media-gfx/xsane/files/doublefree.patch
new file mode 100644
index 000000000000..4db6cb37f1f5
--- /dev/null
+++ b/media-gfx/xsane/files/doublefree.patch
@@ -0,0 +1,22 @@
+--- src/xsane-save.c 2004-09-06 19:08:00.000000000 +0200
++++ src/xsane-save.c.new 2004-12-10 09:49:03.592387322 +0100
+@@ -718,9 +718,6 @@
+
+ fflush(outfile);
+
+- fclose(infile);
+- fclose(outfile);
+-
+ if (size != bytes_sum)
+ {
+ DBG(DBG_info, "copy errro, not complete, %d bytes of %d bytes copied\n", bytes_sum, size);
+@@ -775,6 +772,9 @@
+ gtk_main_iteration();
+ }
+
++ fclose(infile);
++ fclose(outfile);
++
+ return (*cancel_save);
+ }
+