Changeset 41959
- Timestamp:
- Dec 10, 2021, 3:36:17 PM (5 years ago)
- Location:
- trunk/Ohana/src/opihi/lib.shell
- Files:
-
- 2 edited
-
VectorOps.c (modified) (1 diff)
-
expand_vectors.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/VectorOps.c
r41715 r41959 103 103 if (mode == OLDVECTOR) goto error; 104 104 // validate vector name syntax 105 if (!IsVectorNameValid(name)) { gprint (GP_ERR, "invalid vector name %s\n", name); return NULL; } 105 // vector with ":" will be failed so I comment it out CCL 106 // if (!IsVectorNameValid(name)) { gprint (GP_ERR, "invalid vector name %s\n", name); return NULL; } 106 107 pthread_mutex_lock (&mutex); 107 108 Nvectors ++; -
trunk/Ohana/src/opihi/lib.shell/expand_vectors.c
r41715 r41959 135 135 // include/shell.h. A vector name cannot include a colon, while a variable name 136 136 // cannot include a dot. 137 138 for (w = p - 1; (w >= line) && !OHANA_WHITESPACE(*w) && ISVEC(*w); w--); 137 // temporary remove ISVEC check until ":" issue fixed CCL 138 //for (w = p - 1; (w >= line) && !OHANA_WHITESPACE(*w) && ISVEC(*w); w--); 139 for (w = p - 1; (w >= line) && !OHANA_WHITESPACE(*w); w--); 139 140 w ++; 140 141 n = (int)(p - w);
Note:
See TracChangeset
for help on using the changeset viewer.
