- Timestamp:
- May 3, 2010, 8:41:49 AM (16 years ago)
- Location:
- branches/tap_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/tap_branches
- Property svn:mergeinfo changed
-
branches/tap_branches/Ohana
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/Ohana merged eligible /branches/eam_branches/Ohana.20100407 27635-27772 /branches/pap_delete/Ohana 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/tap_branches/Ohana/src/opihi/lib.shell/ListOps.c
r16441 r27838 3 3 4 4 /*** local static variables used to track the command lists ***/ 5 static List *lists ;/* variable to store the list of all lists */6 static int Nlists ;/* number of currently available lists */5 static List *lists = NULL; /* variable to store the list of all lists */ 6 static int Nlists = 0; /* number of currently available lists */ 7 7 8 8 void InitLists () { … … 16 16 int i, j; 17 17 18 for (i = 0; i < Nlists; i++) { 18 // Nlists is a bit weird: it is the currently highest valid list, not the number of lists 19 // Nlists = 0 is never allocated 20 for (i = 1; i < Nlists + 1; i++) { 19 21 for (j = 0; j < lists[i].Nlines; j++) { 20 22 free (lists[i].line[j]); … … 187 189 if (!strcmp (temp, "-x")) goto escape; 188 190 if (!strcmp (temp, "-split")) goto escape; 191 if (!strcmp (temp, "-splitbychar")) goto escape; 192 if (!strcmp (temp, "-copy")) goto escape; 189 193 if (!strcmp (temp, "-add")) goto escape; 190 194 if (!strcmp (temp, "-del")) goto escape;
Note:
See TracChangeset
for help on using the changeset viewer.
