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/vms/filesubr.c | |
parent | ea3c335b4bf326bd21007b71f18d06a885682de1 (diff) |
Latest version from Cyclic
Diffstat (limited to 'gnu/usr.bin/cvs/vms/filesubr.c')
-rw-r--r-- | gnu/usr.bin/cvs/vms/filesubr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/vms/filesubr.c b/gnu/usr.bin/cvs/vms/filesubr.c index affca1a6d01..2d694134108 100644 --- a/gnu/usr.bin/cvs/vms/filesubr.c +++ b/gnu/usr.bin/cvs/vms/filesubr.c @@ -807,7 +807,7 @@ last_component (path) { char *last = strrchr (path, '/'); - if (last) + if (last && (last != path)) return last + 1; else return path; |