svn commit: trunk/uClibc/libc/misc/syslog
vapier at uclibc.org
vapier at uclibc.org
Sat Jan 5 07:16:35 UTC 2008
Author: vapier
Date: 2008-01-04 23:16:35 -0800 (Fri, 04 Jan 2008)
New Revision: 20718
Log:
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.
Modified:
trunk/uClibc/libc/misc/syslog/syslog.c
Changeset:
Modified: trunk/uClibc/libc/misc/syslog/syslog.c
===================================================================
--- trunk/uClibc/libc/misc/syslog/syslog.c 2008-01-05 07:06:08 UTC (rev 20717)
+++ trunk/uClibc/libc/misc/syslog/syslog.c 2008-01-05 07:16:35 UTC (rev 20718)
@@ -165,7 +165,7 @@
if ((LogFile = socket(AF_UNIX, logType, 0)) == -1) {
goto DONE;
}
- /* fcntl(LogFile, F_SETFD, 1); */
+ fcntl(LogFile, F_SETFD, 1);
}
}
More information about the uClibc-cvs
mailing list