[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.2.9-24-g43e44ec



The following commit has been merged in the master branch:
commit b82ead848294dc12bd4947c3ce4e2bb486f15fd9
Author: Russ Allbery <rra@debian.org>
Date:   Mon Apr 27 00:27:42 2009 -0700

    Be more robust in collecting strings output
    
    * collection/strings:
      + [RA] Be robust against file names containing "ELF" or a colon by
        requiring ELF occur after the colon and space and breaking on colon
        and space instead of a simple colon.

diff --git a/collection/strings b/collection/strings
index b649035..9fd09be 100755
--- a/collection/strings
+++ b/collection/strings
@@ -27,7 +27,7 @@
 [ ! -f elf-index ] || rm -f elf-index
 exec >elf-index
 
-for bin in $(grep ELF file-info | cut -d: -f1); do
+for bin in $(grep '^[^:]*:.*ELF' file-info | sed 's/: .*//'); do
     echo "$bin"
     case $bin in
       /usr/lib/debug/*)
diff --git a/debian/changelog b/debian/changelog
index b4b8c9f..9afe10f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -52,6 +52,10 @@ lintian (2.2.10) UNRELEASED; urgency=low
     + [ADB] Call "file" with "--" to ensure that any filenames in the package
       that start with "-" aren't interpreted as options to "file".  Thanks,
       Trent W. Buck.  (Closes: #523408)
+  * collection/strings:
+    + [RA] Be robust against file names containing "ELF" or a colon by
+      requiring ELF occur after the colon and space and breaking on colon
+      and space instead of a simple colon.
 
   * doc/desc-files:
     + [ADB] Mention the new Standards-Version field available for tests.

-- 
Debian package checker


Reply to: