Hi Rob, Attached are the patches. This has fixes for
touch: 1. while setting access or modify times of a file, this was causing a hang due to non-increment of ss. 2. handling the time format for __-d__ option as per the spec ( http://pubs.opengroup.org/onlinepubs/9699919799/utilities/touch.html). kill: 3. prints signal number along with signal names while listing and vice-versa if an argument is given to the __-l__ option. This has changes in lib.c + kill.c umount: 4. __-n__, as per the LSB spec, it will skip updating /etc/mtab. In toybox case, you skipped reading mount list. This doesn't resolve if the device is given to umount. // We use the list both for -a, and to umount /dev/name or do losetup -d - if ( !access(pm, R_OK)) + if (!(toys.optflags & FLAG_n) && !access(pm, R_OK)) mlrev = dlist_terminate(mlsave = xgetmountlist(pm)); e.g. umount -n /dev/sda1, this fails, as this doesn't figure out the mountpoint to be umount'ed. thanks, Ashwini
touch.c.patch
Description: Binary data
kill.c.patch
Description: Binary data
_______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
