Changeset 2843 for trunk/Ohana/src/opihi/lib.shell/exec_loop.c
- Timestamp:
- Dec 28, 2004, 8:40:04 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/exec_loop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/exec_loop.c
r2598 r2843 3 3 int exec_loop (Macro *loop) { 4 4 5 int n, Nlines, j, status, ThisList, Signal; 5 void *Signal; 6 int n, Nlines, j, status, ThisList; 6 7 char *outline; 7 8 … … 19 20 20 21 /* set up interrupts */ 21 Signal = (int)signal (SIGINT, handle_interrupt);22 Signal = signal (SIGINT, handle_interrupt); 22 23 interrupt = FALSE; 23 24 … … 35 36 if (loop_break || loop_continue) break; 36 37 } 37 signal (SIGINT, (void *)Signal);38 signal (SIGINT, Signal); 38 39 39 40 /* free up the list and decrement the shell level */
Note:
See TracChangeset
for help on using the changeset viewer.
