Magellan Linux

Contents of /trunk/mkinitrd-magellan/busybox/shell/hush_leaktool.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 816 - (show annotations) (download) (as text)
Fri Apr 24 18:33:46 2009 UTC (15 years, 1 month ago) by niro
File MIME type: application/x-sh
File size: 280 byte(s)
-updated to busybox-1.13.4
1 #!/bin/sh
2
3 # hush's stderr with leak debug enabled
4 output=output
5
6 freelist=`grep 'free 0x' "$output" | cut -d' ' -f2 | sort | uniq | xargs`
7
8 grep -v free "$output" >temp1
9 for freed in $freelist; do
10 echo Dropping $freed
11 grep -v $freed <temp1 >temp2
12 mv temp2 temp1
13 done

Properties

Name Value
svn:keywords Id