diff options
Diffstat (limited to 'src/cd.c')
-rw-r--r-- | src/cd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cd.c b/src/cd.c index 610a4fa..b6742af 100644 --- a/src/cd.c +++ b/src/cd.c @@ -128,7 +128,7 @@ dotdot: if (!*dest) dest = "."; path = bltinlookup("CDPATH"); - while (p = path, (len = padvance(&path, dest)) >= 0) { + while (p = path, (len = padvance_magic(&path, dest, 0)) >= 0) { c = *p; p = stalloc(len); |