Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
syslogd
sysklogd-1.4.1-dgram.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sysklogd-1.4.1-dgram.patch of Package syslogd
--- syslog.c +++ syslog.c 2001-05-23 18:48:13.000000000 +0000 @@ -211,8 +211,9 @@ openlog(ident, logstat, logfac) strncpy(SyslogAddr.sa_data, _PATH_LOGNAME, sizeof(SyslogAddr.sa_data)); if (LogStat & LOG_NDELAY) { - LogFile = socket(AF_UNIX, SOCK_DGRAM, 0); -/* fcntl(LogFile, F_SETFD, 1); */ + if ((LogFile = socket(AF_UNIX, SOCK_DGRAM, 0)) < 0) + return; + fcntl(LogFile, F_SETFD, 1); } } if (LogFile != -1 && !connected &&
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor