diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-01-05 07:16:35 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-01-05 07:16:35 +0000 |
commit | ea0dcba922677916927075ccdd4f65e4764de3d5 (patch) | |
tree | ecab5fde97d4708cabb8e171e45c26e8e5f2864a /libc/misc/syslog | |
parent | 3ea0aa46f70e85a7cd97b278831b73ec46cb71f6 (diff) |
krichy writes in 292:
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.
Diffstat (limited to 'libc/misc/syslog')
-rw-r--r-- | libc/misc/syslog/syslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c index 0a5c48f86..d881af682 100644 --- 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); } } |