From 9782849f071b87e896b6c70a7b134962fe858be5 Mon Sep 17 00:00:00 2001 From: Thorsten Lockert Date: Thu, 12 Mar 1998 07:00:36 +0000 Subject: Latest version from Cyclic --- gnu/usr.bin/cvs/os2/filesubr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/usr.bin/cvs/os2/filesubr.c') diff --git a/gnu/usr.bin/cvs/os2/filesubr.c b/gnu/usr.bin/cvs/os2/filesubr.c index 2413dad093f..5047e5b4548 100644 --- a/gnu/usr.bin/cvs/os2/filesubr.c +++ b/gnu/usr.bin/cvs/os2/filesubr.c @@ -741,7 +741,7 @@ last_component (char *path) if (ISDIRSEP (*scan)) last = scan; - if (last) + if (last && (last != path)) return last + 1; else return path; -- cgit v1.2.3