IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41959


Ignore:
Timestamp:
Dec 10, 2021, 3:36:17 PM (5 years ago)
Author:
cclin33
Message:

temporary fix vector with a colon issue

Location:
trunk/Ohana/src/opihi/lib.shell
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/lib.shell/VectorOps.c

    r41715 r41959  
    103103    if (mode == OLDVECTOR) goto error;
    104104    // 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; }
    106107    pthread_mutex_lock (&mutex);
    107108    Nvectors ++;
  • trunk/Ohana/src/opihi/lib.shell/expand_vectors.c

    r41715 r41959  
    135135    // include/shell.h.  A vector name cannot include a colon, while a variable name
    136136    // 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--);
    139140    w ++;
    140141    n = (int)(p - w);
Note: See TracChangeset for help on using the changeset viewer.