Changeset 9469 for trunk/Ohana/src/opihi/lib.shell/exec_loop.c
- Timestamp:
- Oct 10, 2006, 1:20:19 PM (20 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
r7938 r9469 41 41 signal (SIGINT, Signal); 42 42 43 /* free up the list and decrement the shell level */ 43 /* free remaining lines on the list, free the list, decrement the shell level */ 44 for (n ++; n < Nlines; n ++) { 45 free (lists[ThisList].line[n]); 46 } 44 47 free (lists[ThisList].line); 45 48 Nlists --; … … 51 54 52 55 /** note that the list number runs from 1 - Nlists+1 **/ 56 /** XXX this is kind of silly: I should simply define a function 57 to pop next line off the specified list. review this... **/
Note:
See TracChangeset
for help on using the changeset viewer.
