broken read in ash
Stefan Seyfried
stefan.seyfried at googlemail.com
Sun Apr 1 18:14:51 UTC 2012
Hi all,
commit 10c0131a8a1b3db7fd6b23b72ebd7b33afc7b018
Author: Denys Vlasenko <vda.linux at googlemail.com>
Date: Wed May 11 11:49:21 2011 +0200
hush: use SA_RESTARTed signal handlers across read.
breaks code like this in ash:
makelink()
{
FOUND=false
while read A B C; do
case $A in
N:) eval $B $C
test x"$Name" = xlircd && FOUND=true
;;
H:) if $FOUND; then
ln -sf $C /dev/input/lircd
break;
fi
;;
esac
done < /proc/bus/input/devices
}
actually "read a < /proc/bus/input/devices" does not work, while
"read a < /bin/busybox" does work.
ARCH is sh4, config is attached.
--
Stefan Seyfried
"Dispatch war rocket Ajax to bring back his body!"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.19.config
Type: application/x-config
Size: 28035 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20120401/8b56644f/attachment-0001.bin>
More information about the busybox
mailing list