Searched refs:ERROR_TRAP (Results 1 - 3 of 3) sorted by relevance

/macosx-10.10.1/bash-94.1.2/bash-3.2/
H A Dtrap.c60 #define SPECIAL_TRAP(s) ((s) == EXIT_TRAP || (s) == DEBUG_TRAP || (s) == ERROR_TRAP || (s) == RETURN_TRAP)
135 trap_list[EXIT_TRAP] = trap_list[DEBUG_TRAP] = trap_list[ERROR_TRAP] = trap_list[RETURN_TRAP] = (char *)NULL;
136 sigmodes[EXIT_TRAP] = sigmodes[DEBUG_TRAP] = sigmodes[ERROR_TRAP] = sigmodes[RETURN_TRAP] = SIG_INHERITED;
415 set_signal (ERROR_TRAP, command);
565 if ((sig != DEBUG_TRAP && sig != ERROR_TRAP && sig != RETURN_TRAP) ||
787 if ((sigmodes[ERROR_TRAP] & SIG_TRAPPED) && ((sigmodes[ERROR_TRAP] & SIG_IGNORED) == 0) && (sigmodes[ERROR_TRAP] & SIG_INPROGRESS) == 0)
788 _run_trap_internal (ERROR_TRAP, "error trap");
831 trap_list[DEBUG_TRAP] = trap_list[EXIT_TRAP] = trap_list[ERROR_TRAP]
[all...]
H A Dtrap.h41 #define ERROR_TRAP NSIG+1 macro
H A Dexecute_cmd.c679 was_error_trap = signal_is_trapped (ERROR_TRAP) && signal_is_ignored (ERROR_TRAP) == 0;
3241 error_trap = TRAP_STRING(ERROR_TRAP);
3271 restore_default_signal (ERROR_TRAP);

Completed in 146 milliseconds