Changeset 4462 for trunk/Ohana/src/opihi/lib.shell/exec_loop.c
- Timestamp:
- Jul 6, 2005, 10:29:08 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/exec_loop.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/exec_loop.c
r2843 r4462 5 5 void *Signal; 6 6 int n, Nlines, j, status, ThisList; 7 char * outline;7 char *line; 8 8 9 9 /* increase the shell level (Nlists) by one */ … … 29 29 for (n = 0; (n < Nlines) && !interrupt; n++) { 30 30 lists[ThisList].n = n; 31 status = command (lists[ThisList].line[n], &outline); 31 line = lists[ThisList].line[n]; 32 status = multicommand (line); 33 if (line != NULL) free (line); 32 34 n = lists[ThisList].n; 33 35 Nlines = lists[ThisList].Nlines; 34 if (outline != NULL) free (outline);35 36 if (auto_break && !status) loop_break = TRUE; 36 37 if (loop_break || loop_continue) break;
Note:
See TracChangeset
for help on using the changeset viewer.
