Branch: Tag:

2013-11-03

2013-11-03 10:33:28 by Tobias S. Josefowitz <tobij@tobij.de>

Process: only offer daemon() when fork() or System.daemon() are available.

1101:   #endif   #endif    + #if constant(fork) || constant(System.daemon)   private int low_daemon(int nochdir, int noclose)   { - #if System.daemon + #if constant(System.daemon)    return System.daemon(nochdir, noclose);   #else    if (fork())    exit(0);    - #if System.setsid + #if constant(System.setsid)    System.setsid();   #endif /* System.setsid */   
1210:       opened->close();   } + #endif