IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20345


Ignore:
Timestamp:
Oct 23, 2008, 12:40:59 PM (18 years ago)
Author:
bills
Message:

back out my last change. It needs more thought.
Leave in the fix to the potential null pointer derefernce when opening
nebServer fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfig.c

    r20341 r20345  
    16251625                return NULL;
    16261626            }
    1627         } else if (create || trunc) {
    1628             // object exists and it looks like the caller intends to write to it
    1629             // delete all but one instance
    1630             if (!nebCullAllButOne(server,filename)) {
    1631                 psError(PM_ERR_SYS, true, "failed to cull instances of existing nebulous file: %s\n%s",
    1632                     filename, nebErr(server));
    1633                 return NULL;
    1634             }
    1635             // we don't know which instances got culled so get the instance again
    1636             if (!(nebfile = nebFind(server, filename))) {
    1637                 psError(PM_ERR_SYS, true, "failed to find instance of existing nebulous file: %s\n%s",
    1638                     filename, nebErr(server));
    1639                 return NULL;
    1640             }
    16411627        }
    16421628
Note: See TracChangeset for help on using the changeset viewer.