Changeset 39457 for trunk/Ohana/src/opihi/lib.shell/exec_loop.c
- Timestamp:
- Mar 11, 2016, 10:23:42 PM (10 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/lib.shell/exec_loop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
Property svn:mergeinfo
set to
/branches/eam_branches/ohana.20160226 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/Ohana/src/opihi/lib.shell/exec_loop.c
r12332 r39457 3 3 int exec_loop (Macro *loop) { 4 4 5 void *Signal;6 5 int j, status, ThisList; 7 6 char *line; … … 17 16 18 17 /* set up interrupts */ 19 Signal = signal (SIGINT, handle_interrupt); 20 interrupt = FALSE; 18 struct sigaction *old_sigaction = SetInterrupt(); 21 19 22 20 /* process the list */ … … 32 30 if (loop_break || loop_last || loop_next) break; 33 31 } 34 signal (SIGINT, Signal);32 ClearInterrupt (old_sigaction); 35 33 36 34 /* free remaining lines on the list, free the list, decrement the shell level */
Note:
See TracChangeset
for help on using the changeset viewer.
