projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d8f3c
)
Add parentheses to expressions like (c = *p++) as per suggestion
author
Jim Meyering
<jim@meyering.net>
Sat, 31 Oct 1992 23:00:47 +0000
(23:00 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 31 Oct 1992 23:00:47 +0000
(23:00 +0000)
from gcc -Wall.
lib/makepath.c
patch
|
blob
|
history
diff --git
a/lib/makepath.c
b/lib/makepath.c
index 5c6112414ca8fe90e03e26f35e281cfd511a60e4..98b78a1e658e69d7aa5b91107b69af45838ffe7a 100644
(file)
--- 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))