1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-15 16:26:01 +02:00

Add parentheses to expressions like (c = *p++) as per suggestion

from gcc -Wall.
This commit is contained in:
Jim Meyering
1992-10-31 23:00:47 +00:00
parent 52d8f3c425
commit 37ff29b820

View File

@@ -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))