mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-26 11:23:47 +08:00
Add parentheses to expressions like (c = *p++) as per suggestion
from gcc -Wall.
This commit is contained in:
parent
52d8f3c425
commit
37ff29b820
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user