(FILESYSTEM_PREFIX_LEN): Define.
authorJim Meyering <jim@meyering.net>
Thu, 7 Dec 2000 14:10:21 +0000 (14:10 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 7 Dec 2000 14:10:21 +0000 (14:10 +0000)
commit3334a9952b11ec3cc0fcc729c67dc5fcbcc981c7
tree01520f8439f6ffb77dda4f7513fcfda813792d4d
parent463d87230e272087fe30b7fa1c5c24e681288881
(FILESYSTEM_PREFIX_LEN): Define.
(dir_name_r): Declare this function as static.
[BACKSLASH_IS_PATH_SEPARATOR]: Fix a bug that'd
manifest itself on a name containing a mix of slashes and
backslashes.
Make this function work with names starting with a DOS-style
drive letter and colon prefix.
(dir_name): Append `.' if necessary.
Based mostly on patches from Prashant TR and Eli Zaretskii.
lib/dirname.c