diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-02 20:19:01 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-02 20:19:01 +0100 |
commit | b542c2254f2533b0838c36ae5da7679d0bd5fb7b (patch) | |
tree | 74b25b2f470ea025591197168ebbb6ed7b6a32d8 /debian/patches/05_xcam_off_by_one.dpatch | |
parent | 7d8191b83e163d76bb05e13b373638e4eeb7da95 (diff) | |
parent | 4bc4b41457cf5caca82a936deffeb7874dddd446 (diff) |
Merge tag 'upstream/1.0.14'
Upstream version 1.0.14
Diffstat (limited to 'debian/patches/05_xcam_off_by_one.dpatch')
-rw-r--r-- | debian/patches/05_xcam_off_by_one.dpatch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/debian/patches/05_xcam_off_by_one.dpatch b/debian/patches/05_xcam_off_by_one.dpatch deleted file mode 100644 index deb56a0..0000000 --- a/debian/patches/05_xcam_off_by_one.dpatch +++ /dev/null @@ -1,19 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 05_xcam_off_by_one.dpatch by <jblache@debian.org> -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: Fix an off-by-one. - -@DPATCH@ -diff -urNad sane-frontends-1.0.14~/src/xcam.c sane-frontends-1.0.14/src/xcam.c ---- sane-frontends-1.0.14~/src/xcam.c 2009-06-26 13:50:19.000000000 +0200 -+++ sane-frontends-1.0.14/src/xcam.c 2009-06-26 13:50:47.774585321 +0200 -@@ -1289,7 +1289,7 @@ - - /* test for pnm formats */ - strncpy (testfilename, preferences.filename, sizeof (testfilename)); -- testfilename[sizeof (testfilename)] = 0; -+ testfilename[sizeof (testfilename) - 1] = 0; - g_strreverse (testfilename); - if (!((!strncmp (testfilename, "mnp.", 4)) || - (!strncmp (testfilename, "mgp.", 4)) || |