Loading...
gen/FreeBSD/daemon.c.patch Libc-594.1.4 Libc-763.11
--- Libc/Libc-594.1.4/gen/FreeBSD/daemon.c.patch
+++ Libc/Libc-763.11/gen/FreeBSD/daemon.c.patch
@@ -1,8 +1,8 @@
---- daemon.c.orig	2007-09-29 23:58:54.000000000 -0700
-+++ daemon.c	2007-09-30 00:46:19.000000000 -0700
-@@ -37,6 +37,10 @@
+--- daemon.c.orig	2009-11-07 15:29:09.000000000 -0800
++++ daemon.c	2009-11-07 15:30:24.000000000 -0800
+@@ -33,6 +33,10 @@ static char sccsid[] = "@(#)daemon.c	8.1
  #include <sys/cdefs.h>
- __FBSDID("$FreeBSD: src/lib/libc/gen/daemon.c,v 1.6 2003/11/10 22:01:42 ghelmer Exp $");
+ __FBSDID("$FreeBSD: src/lib/libc/gen/daemon.c,v 1.8 2007/01/09 00:27:53 imp Exp $");
  
 +#ifndef VARIANT_PRE1050
 +#include <mach/mach.h>
@@ -11,7 +11,7 @@
  #include "namespace.h"
  #include <errno.h>
  #include <fcntl.h>
-@@ -45,6 +49,33 @@
+@@ -42,6 +46,33 @@ __FBSDID("$FreeBSD: src/lib/libc/gen/dae
  #include <unistd.h>
  #include "un-namespace.h"
  
@@ -45,7 +45,7 @@
  int
  daemon(nochdir, noclose)
  	int nochdir, noclose;
-@@ -60,7 +91,9 @@
+@@ -57,7 +88,9 @@ daemon(nochdir, noclose)
  	sa.sa_handler = SIG_IGN;
  	sa.sa_flags = 0;
  	osa_ok = _sigaction(SIGHUP, &sa, &osa);