summaryrefslogtreecommitdiff
path: root/usr/src/tools/scripts/wsdiff.py
diff options
context:
space:
mode:
authormeem <none@none>2008-04-04 21:34:39 -0700
committermeem <none@none>2008-04-04 21:34:39 -0700
commitfa5e8906f3e76cdbc7921f3f3e6976469620aae3 (patch)
treefad99f62b77ab16ac5394377c898bd52e54bca8e /usr/src/tools/scripts/wsdiff.py
parentb32163968bf7a125da3260bd894bf61aa6f013dd (diff)
downloadillumos-joyent-fa5e8906f3e76cdbc7921f3f3e6976469620aae3.tar.gz
6681758 lintdump only dumps the first lint module of a lint object
6681760 lintdump(1) should explicitly state that bitfields aren't supported
Diffstat (limited to 'usr/src/tools/scripts/wsdiff.py')
-rwxr-xr-xusr/src/tools/scripts/wsdiff.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/tools/scripts/wsdiff.py b/usr/src/tools/scripts/wsdiff.py
index 442727b7f5..f390c038ee 100755
--- a/usr/src/tools/scripts/wsdiff.py
+++ b/usr/src/tools/scripts/wsdiff.py
@@ -19,7 +19,7 @@
#
# CDDL HEADER END
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "%Z%%M% %I% %E% SMI"
@@ -968,9 +968,9 @@ def compareByDumping(base, ptch, quiet, fileType) :
if fileType == "Lint Library" :
baseCmd = lintdump_cmd + " -ir " + base + \
- " | grep -v LINTLIB:" + " > " + tmpFile1
+ " | egrep -v '(LINTOBJ|LINTMOD):'" + " > " + tmpFile1
ptchCmd = lintdump_cmd + " -ir " + ptch + \
- " | grep -v LINTLIB:" + " > " + tmpFile2
+ " | egrep -v '(LINTOBJ|LINTMOD):'" + " > " + tmpFile2
elif fileType == "Sqlite Database" :
baseCmd = "echo .dump | " + sqlite_cmd + base + " > " + \
tmpFile1