aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/cmp.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-03-20 20:39:27 -0500
committerRob Landley <rob@landley.net>2016-03-20 20:39:27 -0500
commit6aba814b28cddd45c7301c39dccd65b316eb5c82 (patch)
treeb9061ca0c52407c3d8c18f80e521e1dd4db3357c /toys/posix/cmp.c
parent4de04e83d7ff621062b8b5456a14f2f313a2639c (diff)
downloadtoybox-6aba814b28cddd45c7301c39dccd65b316eb5c82.tar.gz
Posix requires "" to be false, and 00 should be false, and -0 should be false.
Fix memory leaks in regex. Simplify regex check (if we matched, subexpression had to match). Don't exit() from a command, set exitval and return.
Diffstat (limited to 'toys/posix/cmp.c')
0 files changed, 0 insertions, 0 deletions