You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
730 B

Index: socket.c
--- socket.c.orig 2003-10-10 12:32:15.000000000 +0200
+++ socket.c 2003-10-19 13:17:45.000000000 +0200
@@ -9,6 +9,8 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
+#include <time.h>
+#include <sys/time.h>
#include <ctype.h> /* isspace() */
#ifdef HAVE_MEMORY_H
#include <memory.h>
Index: daemon.c
--- daemon.c.orig 2006-08-07 11:22:40 +0200
+++ daemon.c 2006-11-28 12:45:27 +0100
@@ -218,8 +218,7 @@
if ((logfd = open(logfile, O_CREAT|O_WRONLY|O_APPEND, 0666)) < 0) { /* stdout */
report(stderr, "cannot open %s: %s\n", logfile, strerror(errno));
return PS_IOERR;
- } else
- logfd = 0; /* use /dev/null */
+ }
} else
logfd = 0; /* this is /dev/null */