16 lines
259 B
Diff
16 lines
259 B
Diff
--- src/names.c
|
|
+++ src/names.c
|
|
@@ -1152,11 +1152,10 @@
|
|
if (p[0] == '.' && p[1] == '.' && (ISSLASH (p[2]) || !p[2]))
|
|
return 1;
|
|
|
|
- do
|
|
+ while (! ISSLASH (*p))
|
|
{
|
|
if (! *p++)
|
|
return 0;
|
|
}
|
|
- while (! ISSLASH (*p));
|
|
}
|
|
}
|