summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/labs.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>1999-12-16 16:58:15 +0000
committerespie <espie@openbsd.org>1999-12-16 16:58:15 +0000
commita1b67094d01bd37c9c10e6b18a00c7e91ce5a442 (patch)
tree7764f73e11b15496928e2f1ffacb3b8c6a0e992d /lib/libc/stdlib/labs.c
parentRemove unneeded extraneous zeros at the end of buffers. (diff)
downloadwireguard-openbsd-a1b67094d01bd37c9c10e6b18a00c7e91ce5a442.tar.xz
wireguard-openbsd-a1b67094d01bd37c9c10e6b18a00c7e91ce5a442.zip
Fix those two bugs in cond.c.
- CondGetArg needs to differentiate between empty strings and problems. Returning problems as a separate boolean is cleaner anyway. - Fix error in conditional parser which would overstep the ending 0, so that a second zero would be needed.
Diffstat (limited to 'lib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions