IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 28, 2008, 3:36:07 PM (18 years ago)
Author:
Paul Price
Message:

Strip off unix and Nebulous paths.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageDetrendRecord.c

    r20454 r20455  
    3434    pmHDU *hdu = pmHDUGetHighest(input->parent->parent, input->parent, input);  // HDU for cell
    3535
    36     const char *base = basename(file->filename); // Base name of file
     36    // Strip off path and Nebulous bits
     37    char *base = file->filename;        // Base name of file
     38    for (char *new = base; (new = strpbrk(base, "/:")); base = new + 1); // No action
    3739
    3840    // We don't want multiple listings in the header saying the same thing, so make sure we haven't put the
Note: See TracChangeset for help on using the changeset viewer.