IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2004, 1:23:23 PM (22 years ago)
Author:
eugene
Message:

fixing dvomath for strings

File:
1 edited

Legend:

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

    r2598 r2792  
    3737      ALLOCATE (val, char, 64);
    3838      sprintf (val, "-1");
     39      /* this choice of sentinel prevents us from using
     40         x[-1], x[-2], and is not really needed */
    3941    } else {
    4042      strncpy (tmpline, p+1, n);
    4143      tmpline[n] = 0;
    4244      val = dvomath (1, &tmpline, &size, 0);
    43       if (val == NULL) goto dumpline; /* not really a vector */
     45      if (val == NULL) goto dumpline; /* not a valid vector subscript */
    4446    }
    4547    /* find vector name */
Note: See TracChangeset for help on using the changeset viewer.