summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell.c')
-rw-r--r--shell.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell.c b/shell.c
index 2382f773..c0107ffc 100644
--- a/shell.c
+++ b/shell.c
@@ -1,6 +1,6 @@
/* shell.c -- GNU's idea of the POSIX shell specification. */
-/* Copyright (C) 1987-2012 Free Software Foundation, Inc.
+/* Copyright (C) 1987-2015 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -415,7 +415,7 @@ main (argc, argv, env)
mcheck (programming_error, (void (*) ())0);
#endif /* USE_GNU_MALLOC_LIBRARY */
- if (setjmp (subshell_top_level))
+ if (setjmp_sigs (subshell_top_level))
{
argc = subshell_argc;
argv = subshell_argv;
@@ -598,7 +598,7 @@ main (argc, argv, env)
/* Give this shell a place to longjmp to before executing the
startup files. This allows users to press C-c to abort the
lengthy startup. */
- code = setjmp (top_level);
+ code = setjmp_sigs (top_level);
if (code)
{
if (code == EXITPROG || code == ERREXIT)