[Toybox] [Patches] - Issue fixes
Ashwini Sharma
ak.ashwini1981 at gmail.com
Tue Oct 7 04:47:29 PDT 2014
Hi Rob, List,
While verifying toybox on one of our products, came across few issues.
Attached are the patches to those.
1. cp.c : For __mv__ with __-f__ and __-i__ user was prompted.
2. date.c: added support for additional date format parsing, a SIGSEGV for
setdate, output in __-u__.
3. df.c: Output format and strings as specified in Posix and a correction
when a
device name is given. e.g. df /dev/sda1
4. du.c: stop the traversal on a self pointing link.
5. expr.c: Added '==' sign into list of operations. Also added support for
regex pattern match.
6. ifconfig.c: stop parsing if interface name is encountered first.
7. killall.c: output formatting corrected. It was right justifying 4000
places.
8. kill.c: printing signal numbers along with names while listing.
Also listing the signals on command line, if name is given
list the number
and vice-versa.
e.g $ ./toybox kill -l ABRT 2 ILL
6
INT
4
9 lib.c: A static analysis issue fix for retrun value check.
supporting change for kill.c.
A Change in string_to_mode, while parsing sticky/suid bit for u, g, o.
e.g chmod u+s,o+s,g+s file
And a correction in human_readable().
Few more will follow..
rgds,
Ashwini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp.c.patch
Type: application/octet-stream
Size: 857 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: date.c.patch
Type: application/octet-stream
Size: 8199 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: df.c.patch
Type: application/octet-stream
Size: 2527 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: du.c.patch
Type: application/octet-stream
Size: 1125 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: expr.c.patch
Type: application/octet-stream
Size: 962 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifconfig.c.patch
Type: application/octet-stream
Size: 367 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kill.c.patch
Type: application/octet-stream
Size: 749 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: killall.c.patch
Type: application/octet-stream
Size: 443 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lib.c.patch
Type: application/octet-stream
Size: 1176 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20141007/287c9931/attachment-0008.obj>
More information about the Toybox
mailing list