Re: catch signals after calling execve()

2008-09-16 Thread Chet Ramey
Roman Rakus wrote: > Aaah... so sorry, I'm bit confused. CATCH_SIGNALS is only on RHEL-4 > system. There is similar macro in quit.h called CHECK_TERMSIG. So the > patch is: OK. We're all on the same page now. :-) Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey,

Re: catch signals after calling execve()

2008-09-16 Thread Roman Rakus
Chet Ramey wrote: After changing catching signals in bash - added CATCH_SIGNALS () macro - we aren't catching them after calling execve(). This short patch fix it: diff -up bash-3.2/execute_cmd.c.execve_catch_signal bash-3.2/execute_cmd.c --- bash-3.2/execute_cmd.c.execve_catch_signal 2008-09-15