(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)
commit4504b81f3b9a1071834012262bd4eac17f9290ff
tree5a0a24e2ec6dcc8d8db1e8b0650ff8414cfd8e2a
parent222412dbf14be2eeeab5ab0139e3a7b11169942c
(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