Changeset 36084 for trunk/Ohana/src/opihi/lib.shell/ListOps.c
- Timestamp:
- Aug 31, 2013, 5:31:39 AM (13 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20130711/Ohana (added) merged: 35802,35842,35869-35875,35877-35878,35969,36012-36013,36022-36023,36065,36073
- Property svn:mergeinfo changed
-
trunk/Ohana/src/opihi
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20130711/Ohana/src/opihi (added) merged: 35802,35873,35875,35878,35969,36022-36023,36073
- Property svn:mergeinfo changed
-
trunk/Ohana/src/opihi/lib.shell/ListOps.c
r33963 r36084 189 189 int is_list_data (char *line) { 190 190 191 char *comm , *temp;192 193 temp = thisword (nextword (nextword (line)));194 comm = thisword (line); 195 191 char *comm = NULL; 192 char *temp = NULL; 193 char *ptr = NULL; 194 195 comm = thisword (line); 196 196 if (comm == NULL) goto escape; 197 198 197 if (strcmp (comm, "list")) goto escape; 198 199 ptr = nextword (line); 200 if (!strncmp("-excel", ptr, strlen("-excel"))) ptr = nextword (ptr); 201 if (!strncmp("-excel-style", ptr, strlen("-excel-style"))) ptr = nextword (ptr); 202 ptr = nextword (ptr); 203 if (!strncmp("-excel", ptr, strlen("-excel"))) ptr = nextword (ptr); 204 if (!strncmp("-excel-style", ptr, strlen("-excel-style"))) ptr = nextword (ptr); 205 temp = thisword (ptr); 199 206 200 207 /* if (cond) (command) does not define a complete block */
Note:
See TracChangeset
for help on using the changeset viewer.
