IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6887 for trunk/stac/src/sum.c


Ignore:
Timestamp:
Apr 18, 2006, 12:20:45 PM (20 years ago)
Author:
Paul Price
Message:

Updating to use psLib rel11. Main problem was that vector and array lengths ('n' element) are no longer set to equal the number of allocated values ('nalloc' element) when allocated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/sum.c

    r6771 r6887  
    1010    const char *outputName = argv[1];   // Output file name
    1111    psArray *inputNames = psArrayAlloc(argc-2);
     12    inputNames->n = argc - 2;
    1213    for (int i = 2; i < argc; i++) {
    1314        inputNames->data[i-2] = psStringCopy(argv[i]);
Note: See TracChangeset for help on using the changeset viewer.