OBS User autobuild
2009-11-27 13:54:42 +00:00
committed by Git OBS Bridge
parent 53bbc01f78
commit 8921250342
25 changed files with 226 additions and 325 deletions

View File

@@ -1,7 +1,5 @@
Index: syslogd.c
===================================================================
--- syslogd.c.orig 2009-11-24 18:12:55.787215000 +0100
+++ syslogd.c 2009-11-24 18:12:56.480126000 +0100
--- syslogd.c
+++ syslogd.c 2008-03-26 17:45:54.247851855 +0100
@@ -770,6 +770,9 @@ extern int errno;
int main(int argc, char **argv);
char **crunch_list(char *list);
@@ -160,16 +158,16 @@ Index: syslogd.c
+{
+ char buf[100];
+ leave++;
- int sig;
-
+
+ dprintf("syslogd: exiting on signal %d\n", sig);
+ (void) snprintf(buf, sizeof(buf), "exiting on signal %d", sig);
+ errno = 0;
+ logmsg(LOG_SYSLOG|LOG_INFO, buf, LocalHostName, ADDDATE);
+ signal(sig, SIG_IGN);
+}
+
- int sig;
-
+void dienow(void)
{
register struct filed *f;