summaryrefslogtreecommitdiff
path: root/src/dd.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-07-15 17:38:32 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-07-16 12:10:44 -0700
commitefec1600c9b9981d2bc6f26e8a6094ee4e2df501 (patch)
tree5bf36f9d26e015e436f52499dcd927f8753c1486 /src/dd.c
parent837e1f55196f826b92d660808f594fde36651655 (diff)
downloadcoreutils-efec1600c9b9981d2bc6f26e8a6094ee4e2df501.tar.xz
dd: port to NonStop (Bug#9076)
* src/dd.c (SA_RESETHAND): Define to 0 if not defined.
Diffstat (limited to 'src/dd.c')
-rw-r--r--src/dd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dd.c b/src/dd.c
index 3e75412f5..0824f6c0a 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -55,6 +55,11 @@
# endif
#endif
+/* NonStop circa 2011 lacks SA_RESETHAND; see Bug#9076. */
+#ifndef SA_RESETHAND
+# define SA_RESETHAND 0
+#endif
+
#ifndef SIGINFO
# define SIGINFO SIGUSR1
#endif