summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/daemon.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-03-08 11:40:27 +1100
committerDarren Tucker <dtucker@zip.com.au>2009-03-08 11:40:27 +1100
commit9d86e5d5704092072822336af6d0bee468c25966 (patch)
treebca452252bba17e05b91a6e215cfcbc5ab533408 /openbsd-compat/daemon.c
parent3e7e15f1bdc2ddd8fe4a389212c6b8db58e2b511 (diff)
- (dtucker) [auth-passwd.c auth1.c auth2-kbdint.c auth2-none.c auth2-passwd.c
auth2-pubkey.c session.c openbsd-compat/bsd-cygwin_util.{c,h} openbsd-compat/daemon.c] Remove support for Windows 95/98/ME and very old version of Cygwin. Patch from vinschen at redhat com.
Diffstat (limited to 'openbsd-compat/daemon.c')
-rw-r--r--openbsd-compat/daemon.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/openbsd-compat/daemon.c b/openbsd-compat/daemon.c
index e3a6886b..3efe14c6 100644
--- a/openbsd-compat/daemon.c
+++ b/openbsd-compat/daemon.c
@@ -57,18 +57,8 @@ daemon(int nochdir, int noclose)
case -1:
return (-1);
case 0:
-#ifdef HAVE_CYGWIN
- register_9x_service();
-#endif
break;
default:
-#ifdef HAVE_CYGWIN
- /*
- * This sleep avoids a race condition which kills the
- * child process if parent is started by a NT/W2K service.
- */
- sleep(1);
-#endif
_exit(0);
}