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:
ccf2d9a
)
maint: remove now-spurious curly braces
author
Jim Meyering
<meyering@redhat.com>
Fri, 3 Jun 2011 11:29:15 +0000
(13:29 +0200)
committer
Jim Meyering
<meyering@redhat.com>
Sat, 4 Jun 2011 08:56:56 +0000
(10:56 +0200)
* src/chown-core.c (restricted_chown): Remove FIXME comment and
superfluous curly braces.
src/chown-core.c
patch
|
blob
|
history
diff --git
a/src/chown-core.c
b/src/chown-core.c
index
55f8a2d
..
26a272e
100644
(file)
--- a/
src/chown-core.c
+++ b/
src/chown-core.c
@@
-256,12
+256,10
@@
restricted_chown (int cwd_fd, char const *file,
}
}
- { /* FIXME: remove these curly braces when we assume C99. */
- int saved_errno = errno;
- close (fd);
- errno = saved_errno;
- return status;
- }
+ int saved_errno = errno;
+ close (fd);
+ errno = saved_errno;
+ return status;
}
/* Change the owner and/or group of the file specified by FTS and ENT