IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18728


Ignore:
Timestamp:
Jul 24, 2008, 4:03:55 PM (18 years ago)
Author:
eugene
Message:

need to supply real path to truncate, not nebulous filename

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080719/psModules/src/config/pmConfig.c

    r18622 r18728  
    16271627
    16281628        if (trunc) {
    1629             if(truncate(filename, 0) != 0) {
    1630                 psError(PS_ERR_IO, true, "Failed to truncate file, %s\n", filename);
    1631                 nebServerFree(server);
     1629            if(truncate(path, 0) != 0) {
     1630                psError(PS_ERR_IO, true, "Failed to truncate Nebulous file %s (real name %s)\n", filename, path);
    16321631                return NULL;
    16331632            }
Note: See TracChangeset for help on using the changeset viewer.