]> git.ipfire.org Git - thirdparty/libbsd.git/commit
closefrom: Import some changes from sudo
authorGuillem Jover <guillem@hadrons.org>
Mon, 8 Feb 2021 01:52:50 +0000 (02:52 +0100)
committerGuillem Jover <guillem@hadrons.org>
Mon, 8 Feb 2021 03:02:46 +0000 (04:02 +0100)
commita1f79978e8c60720d1b4217d3ada638ceb6593a5
treea18f056444909edd17ee5b653b6b80c67c8d35ac
parent467602628660326a54f7af7344d5539cf31aeea3
closefrom: Import some changes from sudo

Take most of the changes done in sudo, but preserve the existing local
changes and refactoring.

In addition, refactor pstat implementation into closefrom_pstat(), so
that the code is easier to read, and requires no conditional
declarations.
src/closefrom.c