aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2003-06-11 14:48:27 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2003-06-11 14:48:27 +0000
commit420e55bdc14c502a21aef50c770b53721d03e725 (patch)
tree5721862ceb68edadd24894c68cd8367889869b70 /tools
parent84ff9d4131d3fa8d2d52308434b2710b970a7361 (diff)
Handle diff lines that look like "Binary files".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7841 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools')
-rwxr-xr-xtools/cvsdiff-fix.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/cvsdiff-fix.py b/tools/cvsdiff-fix.py
index e2e0c7c99f..91a648a4bd 100755
--- a/tools/cvsdiff-fix.py
+++ b/tools/cvsdiff-fix.py
@@ -6,7 +6,7 @@
# recursive diff, and unflattens it so that it can be
# applied correctly with "patch".
#
-# $Id: cvsdiff-fix.py,v 1.2 2001/11/13 23:55:41 gram Exp $
+# $Id: cvsdiff-fix.py,v 1.3 2003/06/11 14:48:27 gram Exp $
#
# Copyright (C) 2001 by Gilbert Ramirez <gram@alumni.rice.edu>
#
@@ -90,6 +90,10 @@ for line in input.readlines():
state = 2
elif state == 2:
+ if line.find("Binary files") == 0:
+ state = 0
+ continue
+
match = re_from.search(line)
if match:
new_line = "--- %s\\g<after>" % (pathname)