diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1998-03-12 07:00:36 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1998-03-12 07:00:36 +0000 |
commit | 9782849f071b87e896b6c70a7b134962fe858be5 (patch) | |
tree | e056a883bbd212cd5face5366d75353f868eedd7 /gnu/usr.bin/cvs/windows-NT | |
parent | ea3c335b4bf326bd21007b71f18d06a885682de1 (diff) |
Latest version from Cyclic
Diffstat (limited to 'gnu/usr.bin/cvs/windows-NT')
-rw-r--r-- | gnu/usr.bin/cvs/windows-NT/ChangeLog | 5 | ||||
-rw-r--r-- | gnu/usr.bin/cvs/windows-NT/filesubr.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/windows-NT/ChangeLog b/gnu/usr.bin/cvs/windows-NT/ChangeLog index 7b73005f3c3..4da9b84aee1 100644 --- a/gnu/usr.bin/cvs/windows-NT/ChangeLog +++ b/gnu/usr.bin/cvs/windows-NT/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 17 02:31:41 1998 Noel Cragg <noel@swish.red-bean.com> + + * filesubr.c (last_component): return the top-level directory when + asked about the top-level directory. + Fri Jan 16 00:57:31 1998 Jim Kingdon <kingdon@harvey.cyclic.com> * sanity.sh: Remove. As far as I know the Windows hacks in this diff --git a/gnu/usr.bin/cvs/windows-NT/filesubr.c b/gnu/usr.bin/cvs/windows-NT/filesubr.c index 5cb15300eea..ef88c5d8a86 100644 --- a/gnu/usr.bin/cvs/windows-NT/filesubr.c +++ b/gnu/usr.bin/cvs/windows-NT/filesubr.c @@ -677,7 +677,7 @@ last_component (char *path) if (ISDIRSEP (*scan)) last = scan; - if (last) + if (last && (last != path)) return last + 1; else return path; |