X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmakepath.c;h=98b78a1e658e69d7aa5b91107b69af45838ffe7a;hb=a56c4aad147560487653682d685f80d3ca32d373;hp=5c6112414ca8fe90e03e26f35e281cfd511a60e4;hpb=d87c39464604e74f580c7fae835be31a4c125c36;p=gnulib.git diff --git a/lib/makepath.c b/lib/makepath.c index 5c6112414..98b78a1e6 100644 --- a/lib/makepath.c +++ b/lib/makepath.c @@ -127,7 +127,7 @@ make_path (argpath, mode, parent_mode, owner, group, verbose_fmt_string) slash = dirpath; while (*slash == '/') slash++; - while (slash = index (slash, '/')) + while ((slash = index (slash, '/'))) { *slash = '\0'; if (stat (dirpath, &stats))