Bob Proulx <b...@proulx.com> writes: > And lastly I will comment that you are doing quite a bit inside of an > interrupt routine. Typically in a C program it is not safe to perform > any operation that may call malloc() within an interupt service > routine since malloc isn't reentrant. Bash is a C program and I > assume the same restriction would apply.
Traps are executed only at command boundaries. Executing them in a signal handler would make them completely unusable, of course. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."