Hallvard Furuseth
|
65d76d7db4
|
Change lutil_detach() to not close the descriptors before dup2(), try to
open /dev/null and then / in read-only mode if opening /dev/null failed,
and skip the dup2()s as well if open() failed.
|
2003-01-30 22:44:53 +00:00 |
|
Kurt Zeilenga
|
6a4ff3b996
|
Fix == v != bug
|
2000-04-19 13:35:43 +00:00 |
|
Kurt Zeilenga
|
0ba3d75913
|
Don't chdir("/"). Root may not be writable to daemon.
Only user can select appropriate run directory. Best left to user.
|
2000-02-08 04:22:31 +00:00 |
|
Kurt Zeilenga
|
10a6e51521
|
All close and redirect stdin, stdout, stderr.
|
2000-01-11 08:04:59 +00:00 |
|
Kurt Zeilenga
|
1fb42bf957
|
Revamp detach code to ensure stdin, stdout, stderr get closed.
|
2000-01-11 02:20:01 +00:00 |
|
Kurt Zeilenga
|
fe591cf679
|
Remove istty test otherwise we may not detach.
|
1999-12-05 05:25:02 +00:00 |
|
Kurt Zeilenga
|
403f4479bc
|
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).
|
1999-09-08 19:06:24 +00:00 |
|
Kurt Zeilenga
|
59c8a88c2f
|
Needs <ac/stdlib.h> for EXIT_*
|
1999-08-03 18:41:55 +00:00 |
|
Kurt Zeilenga
|
df8f7cbb9b
|
s/exit(1)/exit(EXIT_FAILURE)/
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
|
1999-08-03 18:14:24 +00:00 |
|
Kurt Zeilenga
|
b9109a9f20
|
add wait macros. add LDAP_SIGCHLD. and other misc NT cleanups.
|
1999-03-29 09:04:35 +00:00 |
|
Kurt Zeilenga
|
30665cb19a
|
Misc header cleanup
|
1999-03-29 02:07:18 +00:00 |
|
Kurt Zeilenga
|
09bff5c2d5
|
Should include lutil.h to get it's own prototype.
|
1998-11-06 22:03:15 +00:00 |
|
Hallvard Furuseth
|
2f33278850
|
Added lutil_detach()
|
1998-11-04 23:05:02 +00:00 |
|