svn commit: [26025] trunk/busybox/shell
vda at busybox.net
vda at busybox.net
Wed Apr 8 16:46:46 UTC 2009
Author: vda
Date: 2009-04-08 16:46:45 +0000 (Wed, 08 Apr 2009)
New Revision: 26025
Log:
slight tweak to the leak detector
Modified:
trunk/busybox/shell/hush_leaktool.sh
Changeset:
Modified: trunk/busybox/shell/hush_leaktool.sh
===================================================================
--- trunk/busybox/shell/hush_leaktool.sh 2009-04-08 16:40:34 UTC (rev 26024)
+++ trunk/busybox/shell/hush_leaktool.sh 2009-04-08 16:46:45 UTC (rev 26025)
@@ -5,9 +5,9 @@
freelist=`grep 'free 0x' "$output" | cut -d' ' -f2 | sort | uniq | xargs`
-grep -v free "$output" >temp1
+grep -v free "$output" >"$output.leaked"
for freed in $freelist; do
echo Dropping $freed
- grep -v $freed <temp1 >temp2
- mv temp2 temp1
+ grep -v $freed <"$output.leaked" >"$output.temp"
+ mv "$output.temp" "$output.leaked"
done
Property changes on: trunk/busybox/shell/hush_leaktool.sh
___________________________________________________________________
Added: svn:executable
+ *
More information about the busybox-cvs
mailing list