]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: add an unsetenv() implementation
authorWilly Tarreau <w@1wt.eu>
Fri, 29 Mar 2019 17:49:09 +0000 (18:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Mar 2019 20:05:37 +0000 (21:05 +0100)
commit9d22e56178455d666b9774052b7b6f09291e7080
tree3e4fd6ee518f939ceeb78b7807cbbb18945fc838
parente0609f5f49f55b122e7da9bd1d3b1b786366e80c
MINOR: tools: add an unsetenv() implementation

Older Solaris and AIX versions do not have unsetenv(). This adds a
fairly simple implementation which scans the environment, for use
with those systems. It will simply require to pass the define in
the "DEFINE" macro at build time like this :

      DEFINE="-Dunsetenv=my_unsetenv"
include/common/standard.h
src/standard.c