summaryrefslogtreecommitdiff
path: root/src/split.h
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2012-12-26 05:11:10 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2012-12-26 05:13:06 +0100
commita88b2a86adc03916a0859468edf742dbf5140b01 (patch)
treebced9a581fb1c53c1061fbef1cbacabd1ccffbfd /src/split.h
parent9d1edbd9c618b063a4baae39a82a81da236ea72f (diff)
downloadratpoison-a88b2a86adc03916a0859468edf742dbf5140b01.zip
environment handling fixes
* AC_CHECK_FUNCS: +setenv +unsetenv -putenv (the check for putenv() wasn't used anyway) * prefer setenv() to putenv() in cmd_setenv() * prefer unsetenv() to putenv() in cmd_unsetenv() - putenv("FOO") isn't legit everywhere - putenv("FOO=") will only work on MinGW * make the getenv command return an empty output if the variable wasn't found * while here, split and sort AC_CHECK_FUNCS |cos| on #ratpoison reported that environment variables weren't properly removed, and proposed a different fix. thanks!
Diffstat (limited to 'src/split.h')
0 files changed, 0 insertions, 0 deletions