summaryrefslogtreecommitdiff
path: root/src/timeout.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-04-06 07:43:49 +0100
committerPádraig Brady <P@draigBrady.com>2009-04-07 18:57:53 +0100
commit9fdf5845fc87135c4f68bce79f72a25d07130240 (patch)
tree7a7cb5689be9f2344e05a64dc49085123ac20d26 /src/timeout.c
parente22f096d109ea1deb370888fc79ce6496ffc6a1b (diff)
downloadcoreutils-9fdf5845fc87135c4f68bce79f72a25d07130240.tar.xz
maint: Clarify ambiguous refs to Linux kernels or GNU/Linux systems
* README-prereq: s_linux_GNU/Linux_ or s_linux_Linux kernel_ * README-valgrind: ditto * src/chown-core.c: ditto * src/dd.c: ditto * src/df.c: ditto * src/ls.c: ditto * src/mv.c: ditto * src/pwd.c: ditto * src/remove.c: ditto * src/shred.c: ditto * src/stat.c: ditto * src/su.c: ditto * src/system.h: ditto * src/timeout.c: ditto * src/truncate.c: ditto
Diffstat (limited to 'src/timeout.c')
-rw-r--r--src/timeout.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/timeout.c b/src/timeout.c
index 8ef4b5488..c79f24eb5 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -73,7 +73,7 @@
#define AUTHORS proper_name_utf8 ("Padraig Brady", "P\303\241draig Brady")
-/* Note ETIMEDOUT is 110 on linux but this is non standard */
+/* Note ETIMEDOUT is 110 on GNU/Linux systems but this is non standard */
#define EXIT_TIMEDOUT 124
/* Internal failure. */
@@ -311,11 +311,11 @@ main (int argc, char **argv)
alarm (timeout);
/* We're just waiting for a single process here, so wait() suffices.
- Note the signal() calls above on linux and BSD at least, essentially
- call the lower level sigaction() with the SA_RESTART flag set, which
- ensures the following wait call will only return if the child exits,
- not on this process receiving a signal. Also we're not passing
- WUNTRACED | WCONTINUED to a waitpid() call and so will not get
+ Note the signal() calls above on GNU/Linux and BSD at least,
+ essentially call the lower level sigaction() with the SA_RESTART flag
+ set, which ensures the following wait call will only return if the
+ child exits, not on this process receiving a signal. Also we're not
+ passing WUNTRACED | WCONTINUED to a waitpid() call and so will not get
indication that the child has stopped or continued. */
wait (&status);