]> git.ipfire.org Git - thirdparty/krb5.git/commit
Make ksu work when unsetenv() returns NULL 342/head
authorGreg Hudson <ghudson@mit.edu>
Sun, 4 Oct 2015 23:54:35 +0000 (19:54 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 23 Oct 2015 15:57:47 +0000 (11:57 -0400)
commit7eee546db10e907666e02fdded4f512e8d0faf4c
tree8a469905ebc1f3fd092d759c28d71b6b1c83d33b
parentdf251bdfcd70ad16478342b088026b37a47d25fd
Make ksu work when unsetenv() returns NULL

Some older platforms (OS X 10.4, glibc 2.2.1) declare unsetenv() as
returning void, as does ksu's compatibility definition of unsetenv().
Don't use the return value in get_configured_defccname().

ticket: 8267
target_version: 1.14
tags: pullup
src/clients/ksu/main.c