diff options
author | Rob Landley <rob@landley.net> | 2012-12-09 13:57:04 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-12-09 13:57:04 -0600 |
commit | d52e76d50879542702b89cc8cc873358232d2e3f (patch) | |
tree | 3ec9ca70a9b63c0e9423aeab1e119ef355fe4d87 /lib/portability.c | |
parent | 7c6209d6c336df74984e62aa88679c06641ae309 (diff) | |
download | toybox-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 'lib/portability.c')
0 files changed, 0 insertions, 0 deletions