[sudo-commits] sudo changeset 12962:693e1d39718a
Todd C. Miller
Todd.Miller at sudo.ws
Wed Feb 10 16:49:50 MST 2021
changeset: 12962:693e1d39718a in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/693e1d39718a
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Wed Feb 10 14:26:26 2021 -0700
Log Message:
Add a GNU-compatible version of basename(3).
Unlike POSIX basename(3), the GNU variant does not modify its argument.
Note that basename of a path ending in "/" returns an empty string.
diffstat:
MANIFEST | 1 +
include/sudo_util.h | 4 ++++
lib/util/Makefile.in | 12 ++++++++++--
lib/util/basename.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
lib/util/util.exp.in | 1 +
5 files changed, 68 insertions(+), 2 deletions(-)
More information about the sudo-commits
mailing list