Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
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 Wed May 23 18:48:13 2001 @@ -211,8 +211,9 @@ 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