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-dontsleep.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sysklogd-1.4.1-dontsleep.patch of Package syslogd
diff -ru sysklogd-1.4.1.orig/klogd.c sysklogd-1.4.1/klogd.c --- sysklogd-1.4.1.orig/klogd.c 2001-03-11 20:40:10.000000000 +0100 +++ sysklogd-1.4.1/klogd.c 2007-06-18 13:22:06.978362000 +0200 @@ -414,9 +414,11 @@ { CloseLogSrc(); Syslog(LOG_INFO, "Kernel log daemon terminating."); - sleep(1); - if ( output_file != (FILE *) 0 ) + if ( output_file != (FILE *) 0 ) { + fflush(output_file); + fsync(fileno(output_file)); fclose(output_file); + } closelog(); #ifndef TESTING (void) remove_pid(PidFile);
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