]> git.saurik.com Git - apple/libc.git/blobdiff - gen/FreeBSD/daemon.c.patch
Libc-763.11.tar.gz
[apple/libc.git] / gen / FreeBSD / daemon.c.patch
index 095cf2692df5e2c7be20fdb5f3c6d454340236fc..2a5cb493a17563d27f5da53d991cd8c1982e0205 100644 (file)
@@ -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);