]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Add strsep compat function
authorArne Schwabe <arne@rfc2549.org>
Mon, 17 Feb 2020 14:43:36 +0000 (15:43 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 17 Feb 2020 18:34:23 +0000 (19:34 +0100)
commit0a88ef8c2a6b573f9f21b122bd4818265d39d710
tree302e31ebaca52612d98b2ffeb0001e72326f6154
parent868b200c3aef6ee5acfdf679770832018ebc7b70
Add strsep compat function

Some operating system do not have the strsep function. Since this API
is more "modern" (4.4BSD) than strtok, add it as compat function.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Lev Stipakov <lstipakov@gmail.com>
Message-Id: <20200217144339.3273-3-arne@rfc2549.org>
URL: https://www.mail-archive.com/search?l=mid&q=20200217144339.3273-3-arne@rfc2549.org
Signed-off-by: Gert Doering <gert@greenie.muc.de>
configure.ac
src/compat/Makefile.am
src/compat/compat-strsep.c [new file with mode: 0644]
src/compat/compat.h
src/compat/compat.vcxproj