summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-07-15 15:56:13 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-07-15 15:56:34 -0700
commit750fadd5d3a7b053e5a78c9b5144fd36fa64f198 (patch)
tree6d388e24e2b9ba642dbb7fd099d9cad8dafa1ec8 /src
parent63613d493599030d87a9aa6d6848d2251d5694dd (diff)
downloadcoreutils-750fadd5d3a7b053e5a78c9b5144fd36fa64f198.tar.xz
* src/dd.c: Remove obsolete comments re POSIX.
Diffstat (limited to 'src')
-rw-r--r--src/dd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dd.c b/src/dd.c
index 3799d75d8..3e75412f5 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -45,7 +45,7 @@
proper_name ("Stuart Kemp")
/* Use SA_NOCLDSTOP as a proxy for whether the sigaction machinery is
- present. SA_NODEFER and SA_RESETHAND are XSI extensions. */
+ present. */
#ifndef SA_NOCLDSTOP
# define SA_NOCLDSTOP 0
# define sigprocmask(How, Set, Oset) /* empty */
@@ -726,9 +726,6 @@ install_signal_handlers (void)
if (sigismember (&caught_signals, SIGINT))
{
- /* POSIX 1003.1-2001 says SA_RESETHAND implies SA_NODEFER,
- but this is not true on Solaris 8 at least. It doesn't
- hurt to use SA_NODEFER here, so leave it in. */
act.sa_handler = interrupt_handler;
act.sa_flags = SA_NODEFER | SA_RESETHAND;
sigaction (SIGINT, &act, NULL);