search for: padvance_mag

Displaying 1 result from an estimated 1 matches for "padvance_mag".

Did you mean: padvance_magic
2020 Mar 28
0
[klibc:update-dash] dash: exec: Stricter pathopt parsing
...sr/dash/cd.c b/usr/dash/cd.c index 610a4fa8..b6742af8 100644 --- a/usr/dash/cd.c +++ b/usr/dash/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); diff --git a/usr/dash/exec.c b/usr/dash/exec.c index 04ee2ba9..8948754b 100644 --- a/usr/dash/exec.c +++ b/usr/dash/exec.c @@ -92,7 +92,7 @@ STATIC int builtinloc = -1; /* index in path of %builtin, or -1 */ STATIC void tryexec...