summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2002-03-22 20:18:26 +0000
committerwollman <wollman@FreeBSD.org>2002-03-22 20:18:26 +0000
commit2e02d4aae7250e97c7dd2fea71741c365474985a (patch)
treebb5899d6194323e6eca5ae1b7f16db67247762d8 /lib/libc/stdlib
parent612a0d6d9fbb334b184184eca3b11b50d3c5868c (diff)
downloadFreeBSD-src-2e02d4aae7250e97c7dd2fea71741c365474985a.zip
FreeBSD-src-2e02d4aae7250e97c7dd2fea71741c365474985a.tar.gz
Make expr POSIX-compliant, and fix some bugs. Specifically:
- expr must conform to the Utility Syntax Guidelines, so use getopt() to eat the (non-existent) options. - Use the Standard type intmax_t for arithmetic. - If an argument cannot be *completely* converted to an integer, then it is a string. Additionally make some style cleanups near the modified lines. This utility is still not completely style-compliant.
Diffstat (limited to 'lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud