summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2006-02-06 10:09:21 +0000
committerHarald van Dijk <truedfx@gentoo.org>2006-02-06 10:09:21 +0000
commit1ee19410eb7f57485c4405c5e4aec1646c6767d2 (patch)
tree64ae317996b1d0b1f2ca79052dd6c2c3bd78ab9b /dev-util/flawfinder/files
parentStable on ppc64: bug #117628 (diff)
downloadgentoo-2-1ee19410eb7f57485c4405c5e4aec1646c6767d2.tar.gz
gentoo-2-1ee19410eb7f57485c4405c5e4aec1646c6767d2.tar.bz2
gentoo-2-1ee19410eb7f57485c4405c5e4aec1646c6767d2.zip
Fix bug #83295
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-util/flawfinder/files')
-rw-r--r--dev-util/flawfinder/files/digest-flawfinder-1.26-r1 (renamed from dev-util/flawfinder/files/digest-flawfinder-1.26)0
-rw-r--r--dev-util/flawfinder/files/flawfinder-1.26-linenumbers.patch11
2 files changed, 11 insertions, 0 deletions
diff --git a/dev-util/flawfinder/files/digest-flawfinder-1.26 b/dev-util/flawfinder/files/digest-flawfinder-1.26-r1
index c095f8d53346..c095f8d53346 100644
--- a/dev-util/flawfinder/files/digest-flawfinder-1.26
+++ b/dev-util/flawfinder/files/digest-flawfinder-1.26-r1
diff --git a/dev-util/flawfinder/files/flawfinder-1.26-linenumbers.patch b/dev-util/flawfinder/files/flawfinder-1.26-linenumbers.patch
new file mode 100644
index 000000000000..9a67f62e7938
--- /dev/null
+++ b/dev-util/flawfinder/files/flawfinder-1.26-linenumbers.patch
@@ -0,0 +1,11 @@
+--- flawfinder-1.26/flawfinder
++++ flawfinder-1.26/flawfinder
+@@ -1157,7 +1157,7 @@
+ i = i + 1
+ incomment = 0
+ elif instring:
+- if c == '\\': i = i + 1
++ if c == '\\' and nextc != '\n': i = i + 1
+ elif c == '"' and instring == 1: instring = 0
+ elif c == "'" and instring == 2: instring = 0
+ else: