OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ea0aa4
)
krichy writes in 292:
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 5 Jan 2008 07:16:35 +0000
(07:16 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 5 Jan 2008 07:16:35 +0000
(07:16 -0000)
I noticed, that in libc/misc/syslog/syslog.c when the syslog socket is opened, the close-on-exec flag is not set, as it is in gnu libc.
This enables that behavior.
libc/misc/syslog/syslog.c
patch
|
blob
|
history
diff --git
a/libc/misc/syslog/syslog.c
b/libc/misc/syslog/syslog.c
index
0a5c48f
..
d881af6
100644
(file)
--- a/
libc/misc/syslog/syslog.c
+++ b/
libc/misc/syslog/syslog.c
@@
-165,7
+165,7
@@
retry:
if ((LogFile = socket(AF_UNIX, logType, 0)) == -1) {
goto DONE;
}
- /* fcntl(LogFile, F_SETFD, 1); */
+ fcntl(LogFile, F_SETFD, 1);
}
}