diff options
author | Jim Meyering <jim@meyering.net> | 2001-05-12 14:23:49 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-05-12 14:23:49 +0000 |
commit | 4b8000742fd12724cda7840b51daf9a6c821da95 (patch) | |
tree | 8a33010653875fdd8fcd4c6aca04547974b6e5a6 /lib/getopt.c | |
parent | 9ce2d237743beea2c52b236ace8222d949b67e71 (diff) | |
download | coreutils-4b8000742fd12724cda7840b51daf9a6c821da95.tar.xz |
(FILESYSTEM_PREFIX_LEN, PARAMS, ISSLASH): Remove; now in dirname.h.
Do not include <stdio.h>, <assert.h>; no longer needed.
Include <string.h>, <dirname.h>.
(base_name): Allow file names ending in slashes, other than names
that are all slashes. In this case, return the basename followed
by the slashes. This is more general, and can be used in places
where the original base_name purposely had an assertion failure.
(base_len): New function.
Diffstat (limited to 'lib/getopt.c')
0 files changed, 0 insertions, 0 deletions