aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/m/alpha.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/m/alpha.h b/src/m/alpha.h
index ef070198e80..d113f8f32eb 100644
--- a/src/m/alpha.h
+++ b/src/m/alpha.h
@@ -266,8 +266,11 @@ extern void r_alloc_free ();
266 do \ 266 do \
267 { \ 267 { \
268 int dummy; \ 268 int dummy; \
269 SIGMASKTYPE mask; \
270 mask = sigblockx (SIGCHLD); \
269 if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ 271 if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \
270 fd = -1; \ 272 fd = -1; \
273 sigsetmask (mask); \
271 close (dummy); \ 274 close (dummy); \
272 } \ 275 } \
273 while (0) 276 while (0)