aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-06-03 16:12:42 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-06-03 16:23:15 +0300
commit2e89e237afe4b8c04afe29f7b29e00e3757ab635 (patch)
treebee5d3c0cea38724f4e9ddb66d48d0c24a422b1c /doc
parent7df4f13f95f56907cb12425408f1280c4a568369 (diff)
downloaddirevent-2e89e237afe4b8c04afe29f7b29e00e3757ab635.tar.gz
direvent-2e89e237afe4b8c04afe29f7b29e00e3757ab635.tar.bz2
Revamp initialization system in a cleaner way.
* src/Makefile.am: Use the proper detach-*.c source depending on the configuration output. * src/rdaemon.c: Remove. * src/detach-std.c: New file. * src/detach-bsd.c: New file. * src/detach-darwin.c: New file. * src/dircond.c (signal_setup): Use sigv_set_all. (sigmain): Do not reinstall the handler. (main): Use detach() instead of daemon(). * src/dircond.h (detach): New proto. (NITEMS): New macro. (sigv_set_action, sigv_set_all) (sigv_set_tab, sigv_set_action_tab): New protos. * src/sigv.c: New file. * tests/waitfile.c: Remove unused variable. * doc/dircond.8: Update. * doc/dircond.texi: Update.
Diffstat (limited to 'doc')
-rw-r--r--doc/dircond.84
-rw-r--r--doc/dircond.texi4
2 files changed, 2 insertions, 6 deletions
diff --git a/doc/dircond.8 b/doc/dircond.8
index b217f14..54950e3 100644
--- a/doc/dircond.8
+++ b/doc/dircond.8
@@ -414,9 +414,7 @@ Essentially the same as
.BR BSD .
The main difference compared to \fBLinux\fR and \fBBSD\fR is that on
\fBDarwin\fR the watchers are set after disconnecting from the
-controlling terminal, which means that any errors which may happen
-during this process are directed to the syslog instead of the standard
-error. This is because \fBDarwin\fR lacks the
+controlling terminal, because \fBDarwin\fR lacks the
.BR rfork (2)
call and the event queue cannot be inherited by the child process.
.SH "EXIT CODE"
diff --git a/doc/dircond.texi b/doc/dircond.texi
index 05634ed..8173749 100644
--- a/doc/dircond.texi
+++ b/doc/dircond.texi
@@ -966,9 +966,7 @@ or the underlying file system was unmounted.
@section Darwin (Mac OS X)
Essentially the same as BSD. The main difference compared to Linux
and BSD is that on Darwin the watchers are set after disconnecting from the
-controlling terminal, which means that any errors which may happen
-during this process are directed to the syslog instead of the standard
-error. This is because Darwin lacks the @code{rfork} call and the
+controlling terminal, because Darwin lacks the @code{rfork} call and the
event queue cannot be inherited by the child process.
@node Reporting Bugs

Return to:

Send suggestions and report system problems to the System administrator.