summaryrefslogtreecommitdiff
path: root/shell/README
diff options
context:
space:
mode:
authorDenis Vlasenko2007-05-21 10:19:48 +0000
committerDenis Vlasenko2007-05-21 10:19:48 +0000
commit8805eeb44a291b830e9eb1a430d112913ffa9a24 (patch)
tree991012d53e9e2931ef00d893ef69199acdfbbe96 /shell/README
parent219e88d0505f9c06d42772333995887ca694465a (diff)
downloadbusybox-8805eeb44a291b830e9eb1a430d112913ffa9a24.zip
busybox-8805eeb44a291b830e9eb1a430d112913ffa9a24.tar.gz
shells: update README and testsuite. environment memory leak
needs to be fixed - and documented!
Diffstat (limited to 'shell/README')
-rw-r--r--shell/README16
1 files changed, 15 insertions, 1 deletions
diff --git a/shell/README b/shell/README
index d492671..919cb9f 100644
--- a/shell/README
+++ b/shell/README
@@ -1,6 +1,20 @@
Various bits of what is known about busybox shells, in no particular order.
-2006-05-06
+2007-05-21
+hush: environment cannot be handled by libc routines as they are leaky
+(by API design and thus unfixable): hush will leak memory in this script,
+bash does not:
+pid=$$
+while true; do
+ unset t;
+ t=111111111111111111111111111111111111111111111111111111111111111111111111
+ export t
+ ps -o vsz,pid,comm | grep " $pid "
+done
+The fix is to not use setenv/putenv/unsetenv but manipulate env ourself. TODO.
+hush: meanwhile, first three command subst bugs mentioned below are fixed. :)
+
+2007-05-06
hush: more bugs spotted. Comparison with bash:
bash-3.2# echo "TEST`date;echo;echo`BEST"
TESTSun May 6 09:21:05 CEST 2007BEST [we dont strip eols]