> How urgent is it to fix this -- assuming it is (reasonably) fixable. How about the following: --- progname.c-orig Thu Oct 24 21:14:23 2002 +++ progname.c Thu Oct 24 21:29:06 2002 @@ -304,7 +304,7 @@ if (IS_DIR_SEP (ret[last - 1])) { /* If we have `/../', that's the same as `/'. */ if (last > 1) { - ret[last] = 0; + ret[last - 1] = 0; } break; } Thomas