summaryrefslogtreecommitdiffstats
path: root/lib/libcompat/regexp/regexp.c
diff options
context:
space:
mode:
authorrpe <rpe@openbsd.org>2013-11-28 21:20:40 +0000
committerrpe <rpe@openbsd.org>2013-11-28 21:20:40 +0000
commitda465393166845e5dc0e44c39f0797745dc8517e (patch)
treeff37991abfeed2f10a2995e2873a55be89d6fe2a /lib/libcompat/regexp/regexp.c
parentRe-add documentation about `-' handling. Discussed a few months ago (diff)
downloadwireguard-openbsd-da465393166845e5dc0e44c39f0797745dc8517e.tar.xz
wireguard-openbsd-da465393166845e5dc0e44c39f0797745dc8517e.zip
- use IFS=<space><tab> to trim the leading/trailing blanks with read
- simplify the key/value splitting with a true halexism - recognize a line without a '=' by counting the chars in _key/_val instead of doing a string comparison which needs a temporary _k var - localize _l ok krw@ halex@
Diffstat (limited to 'lib/libcompat/regexp/regexp.c')
0 files changed, 0 insertions, 0 deletions