Contents of /tags/mkinitrd-6_1_5/busybox/scripts/find_bad_common_bufsiz
Parent Directory | Revision Log
Revision 899 -
(show annotations)
(download)
Wed Aug 5 17:52:52 2009 UTC (15 years, 1 month ago) by niro
File size: 331 byte(s)
Wed Aug 5 17:52:52 2009 UTC (15 years, 1 month ago) by niro
File size: 331 byte(s)
tagged 'mkinitrd-6_1_5'
1 | #!/bin/sh |
2 | |
3 | # This script finds applets with multiple uses of bb_common_bufsiz1 |
4 | # (== possible bugs). |
5 | # Currently (2007-06-04) reports 3 false positives: |
6 | # ./coreutils/diff.c:7 |
7 | # ./loginutils/getty.c:2 |
8 | # ./util-linux/mount.c:5 |
9 | |
10 | find -name '*.c' \ |
11 | | while read name; do |
12 | grep -Hc bb_common_bufsiz1 "$name" |
13 | done | grep -v ':[01]$' |