]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* src/dd.c: Remove obsolete comments re POSIX.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Jul 2011 22:56:13 +0000 (15:56 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Jul 2011 22:56:34 +0000 (15:56 -0700)
src/dd.c

index 3799d75d81301d215315bdef08adc77b04a6a496..3e75412f543af8ed194061712692eff544347db2 100644 (file)
--- 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);