[BusyBox] Ash digest for 08/09
Vladimir N. Oleynik
dzo at simtreas.ru
Fri Aug 10 11:13:42 UTC 2001
"Vladimir N. Oleynik" wrote:
>
> Aaron and Manuel.
>
> I put last ash to my ftp site: ftp://ftp.simtreas.ru/pub/mu/bb/new/ash.c.gz
s/mu/my/
> This applied all patches, found 1 small error in original ash (losed -w in
> ulimitcmd)
> and reduce 4 bytes ;) and correct put promt in readcmd().
> Manuel - your diff I applied manual, stairway SYNTAX beatifuled and correct for
> autodiffing. Please set this to CVS and start new patching work with this time.
Ohhh...
$ cat bi.sh
show () {
echo 1
for i in "$@" ; do
echo -n "/$i/ "
echo 2
done
echo 3
}
echo 4
TEST="a, b, c"
echo 5
IFS="," ; set -- $TEST
echo 6
echo 7
if [ "$1" = "a" ] && [ "$2" = "b" ] && [ "$3" = "c" ] ; then
exit 0
fi
echo 8
show "$@"
echo 9
exit 1
$ busybox sh bi.sh
Segmentation fault:
8734 funcblocksize += (int) nodesize[n->type];
(gdb) p n
$1 = (union node *) 0x82a463c
(gdb) p n->type
$2 = 136988192
(gdb) p nodesize[n->type]
Cannot access memory at address 0x10446e5d.
(gdb)
Hmm, Who "corrected" nodesize ? ;-P
--w
vodz
More information about the busybox
mailing list