diff options
author | 2013-11-28 21:20:40 +0000 | |
---|---|---|
committer | 2013-11-28 21:20:40 +0000 | |
commit | da465393166845e5dc0e44c39f0797745dc8517e (patch) | |
tree | ff37991abfeed2f10a2995e2873a55be89d6fe2a /lib/libcompat/regexp/regexp.c | |
parent | Re-add documentation about `-' handling. Discussed a few months ago (diff) | |
download | wireguard-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