aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/rm.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-12-09 13:57:04 -0600
committerRob Landley <rob@landley.net>2012-12-09 13:57:04 -0600
commitd52e76d50879542702b89cc8cc873358232d2e3f (patch)
tree3ec9ca70a9b63c0e9423aeab1e119ef355fe4d87 /toys/posix/rm.c
parent7c6209d6c336df74984e62aa88679c06641ae309 (diff)
downloadtoybox-d52e76d50879542702b89cc8cc873358232d2e3f.tar.gz
Meddle.
The <1 has to come first in the option string, normalize whitespace, sprintf of %d maxes out at -2 billion ala 12 bytes with null terminator so we don't need a length check in a 4k buffer, use the "%*s" feature of printf to prepend whitespace for us, take advantage of c99 defining ! to return 0 or 1.
Diffstat (limited to 'toys/posix/rm.c')
0 files changed, 0 insertions, 0 deletions