IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13739


Ignore:
Timestamp:
Jun 8, 2007, 5:40:47 PM (19 years ago)
Author:
eugene
Message:

incrementing the dbconfig / ippdb version number

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/dbconfig/config.md

    r13649 r13739  
    22    pkg_name        STR     ippdb
    33    pkg_namespace   STR     ippdb
    4     pkg_version     STR     1.1.21
     4    pkg_version     STR     1.1.22
    55END
  • trunk/ippTools/configure.ac

    r13649 r13739  
    11AC_PREREQ(2.59)
    22
    3 AC_INIT([ipptools], [1.1.21], [ipp-support@ifa.hawaii.edu])
     3AC_INIT([ipptools], [1.1.22], [ipp-support@ifa.hawaii.edu])
    44AC_CONFIG_SRCDIR([autogen.sh])
    55
     
    1818PKG_CHECK_MODULES([PSLIB], [pslib >= 1.1.0])
    1919PKG_CHECK_MODULES([PSMODULES], [psmodules >= 1.1.0])
    20 PKG_CHECK_MODULES([IPPDB], [ippdb >= 1.1.21])
     20PKG_CHECK_MODULES([IPPDB], [ippdb >= 1.1.22])
    2121
    2222PXTOOLS_CFLAGS="${PSLIB_CFLAGS=} ${PSMODULES_CFLAGS=} ${IPPDB_CFLAGS=}"
  • trunk/ippdb/configure.ac

    r13649 r13739  
    77AC_PREREQ(2.59)
    88
    9 AC_INIT([ippdb], [1.1.21], [pan-starrs.ifa.hawaii.edu])
     9AC_INIT([ippdb], [1.1.22], [pan-starrs.ifa.hawaii.edu])
    1010AC_CONFIG_SRCDIR([ippdb.pc.in])
    1111
  • trunk/ippdb/src/ippdb.c

    r13649 r13739  
    1022110221static void warpSkyfileRowFree(warpSkyfileRow *object);
    1022210222
    10223 warpSkyfileRow *warpSkyfileRowAlloc(psS64 warp_id, const char *skycell_id, const char *tess_id, const char *uri, psF64 bg, psF64 bg_stdev)
     10223warpSkyfileRow *warpSkyfileRowAlloc(psS64 warp_id, const char *skycell_id, const char *tess_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
    1022410224{
    1022510225    warpSkyfileRow  *_object;
     
    1023210232    _object->tess_id = psStringCopy(tess_id);
    1023310233    _object->uri = psStringCopy(uri);
     10234    _object->path_base = psStringCopy(path_base);
    1023410235    _object->bg = bg;
    1023510236    _object->bg_stdev = bg_stdev;
     
    1024310244    psFree(object->tess_id);
    1024410245    psFree(object->uri);
     10246    psFree(object->path_base);
    1024510247}
    1024610248
     
    1026810270        return false;
    1026910271    }
     10272    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, "255")) {
     10273        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
     10274        psFree(md);
     10275        return false;
     10276    }
    1027010277    if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, 0.0)) {
    1027110278        psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
     
    1029110298}
    1029210299
    10293 bool warpSkyfileInsert(psDB * dbh, psS64 warp_id, const char *skycell_id, const char *tess_id, const char *uri, psF64 bg, psF64 bg_stdev)
     10300bool warpSkyfileInsert(psDB * dbh, psS64 warp_id, const char *skycell_id, const char *tess_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
    1029410301{
    1029510302    psMetadata *md = psMetadataAlloc();
     
    1031110318    if (!psMetadataAdd(md, PS_LIST_TAIL, "uri", PS_DATA_STRING, NULL, uri)) {
    1031210319        psError(PS_ERR_UNKNOWN, false, "failed to add item uri");
     10320        psFree(md);
     10321        return false;
     10322    }
     10323    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, path_base)) {
     10324        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
    1031310325        psFree(md);
    1031410326        return false;
     
    1034710359bool warpSkyfileInsertObject(psDB *dbh, warpSkyfileRow *object)
    1034810360{
    10349     return warpSkyfileInsert(dbh, object->warp_id, object->skycell_id, object->tess_id, object->uri, object->bg, object->bg_stdev);
     10361    return warpSkyfileInsert(dbh, object->warp_id, object->skycell_id, object->tess_id, object->uri, object->path_base, object->bg, object->bg_stdev);
    1035010362}
    1035110363
     
    1044010452        return false;
    1044110453    }
     10454    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, object->path_base)) {
     10455        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
     10456        psFree(md);
     10457        return false;
     10458    }
    1044210459    if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, object->bg)) {
    1044310460        psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
     
    1047910496        return false;
    1048010497    }
     10498    char* path_base = psMetadataLookupPtr(&status, md, "path_base");
     10499    if (!status) {
     10500        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item path_base");
     10501        return false;
     10502    }
    1048110503    psF64 bg = psMetadataLookupF64(&status, md, "bg");
    1048210504    if (!status) {
     
    1049010512    }
    1049110513
    10492     return warpSkyfileRowAlloc(warp_id, skycell_id, tess_id, uri, bg, bg_stdev);
     10514    return warpSkyfileRowAlloc(warp_id, skycell_id, tess_id, uri, path_base, bg, bg_stdev);
    1049310515}
    1049410516psArray *warpSkyfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
     
    1138811410static void diffSkyfileRowFree(diffSkyfileRow *object);
    1138911411
    11390 diffSkyfileRow *diffSkyfileRowAlloc(psS64 diff_id, const char *uri, psF64 bg, psF64 bg_stdev)
     11412diffSkyfileRow *diffSkyfileRowAlloc(psS64 diff_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
    1139111413{
    1139211414    diffSkyfileRow  *_object;
     
    1139711419    _object->diff_id = diff_id;
    1139811420    _object->uri = psStringCopy(uri);
     11421    _object->path_base = psStringCopy(path_base);
    1139911422    _object->bg = bg;
    1140011423    _object->bg_stdev = bg_stdev;
     
    1140611429{
    1140711430    psFree(object->uri);
     11431    psFree(object->path_base);
    1140811432}
    1140911433
     
    1142111445        return false;
    1142211446    }
     11447    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, "255")) {
     11448        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
     11449        psFree(md);
     11450        return false;
     11451    }
    1142311452    if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, 0.0)) {
    1142411453        psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
     
    1144411473}
    1144511474
    11446 bool diffSkyfileInsert(psDB * dbh, psS64 diff_id, const char *uri, psF64 bg, psF64 bg_stdev)
     11475bool diffSkyfileInsert(psDB * dbh, psS64 diff_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
    1144711476{
    1144811477    psMetadata *md = psMetadataAlloc();
     
    1145411483    if (!psMetadataAdd(md, PS_LIST_TAIL, "uri", PS_DATA_STRING, NULL, uri)) {
    1145511484        psError(PS_ERR_UNKNOWN, false, "failed to add item uri");
     11485        psFree(md);
     11486        return false;
     11487    }
     11488    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, path_base)) {
     11489        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
    1145611490        psFree(md);
    1145711491        return false;
     
    1149011524bool diffSkyfileInsertObject(psDB *dbh, diffSkyfileRow *object)
    1149111525{
    11492     return diffSkyfileInsert(dbh, object->diff_id, object->uri, object->bg, object->bg_stdev);
     11526    return diffSkyfileInsert(dbh, object->diff_id, object->uri, object->path_base, object->bg, object->bg_stdev);
    1149311527}
    1149411528
     
    1157311607        return false;
    1157411608    }
     11609    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, object->path_base)) {
     11610        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
     11611        psFree(md);
     11612        return false;
     11613    }
    1157511614    if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, object->bg)) {
    1157611615        psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
     
    1160211641        return false;
    1160311642    }
     11643    char* path_base = psMetadataLookupPtr(&status, md, "path_base");
     11644    if (!status) {
     11645        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item path_base");
     11646        return false;
     11647    }
    1160411648    psF64 bg = psMetadataLookupF64(&status, md, "bg");
    1160511649    if (!status) {
     
    1161311657    }
    1161411658
    11615     return diffSkyfileRowAlloc(diff_id, uri, bg, bg_stdev);
     11659    return diffSkyfileRowAlloc(diff_id, uri, path_base, bg, bg_stdev);
    1161611660}
    1161711661psArray *diffSkyfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
     
    1242412468static void stackSumSkyfileRowFree(stackSumSkyfileRow *object);
    1242512469
    12426 stackSumSkyfileRow *stackSumSkyfileRowAlloc(psS64 stack_id, const char *uri, psF64 bg, psF64 bg_stdev)
     12470stackSumSkyfileRow *stackSumSkyfileRowAlloc(psS64 stack_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
    1242712471{
    1242812472    stackSumSkyfileRow *_object;
     
    1243312477    _object->stack_id = stack_id;
    1243412478    _object->uri = psStringCopy(uri);
     12479    _object->path_base = psStringCopy(path_base);
    1243512480    _object->bg = bg;
    1243612481    _object->bg_stdev = bg_stdev;
     
    1244212487{
    1244312488    psFree(object->uri);
     12489    psFree(object->path_base);
    1244412490}
    1244512491
     
    1245712503        return false;
    1245812504    }
     12505    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, "255")) {
     12506        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
     12507        psFree(md);
     12508        return false;
     12509    }
    1245912510    if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, 0.0)) {
    1246012511        psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
     
    1248012531}
    1248112532
    12482 bool stackSumSkyfileInsert(psDB * dbh, psS64 stack_id, const char *uri, psF64 bg, psF64 bg_stdev)
     12533bool stackSumSkyfileInsert(psDB * dbh, psS64 stack_id, const char *uri, const char *path_base, psF64 bg, psF64 bg_stdev)
    1248312534{
    1248412535    psMetadata *md = psMetadataAlloc();
     
    1249012541    if (!psMetadataAdd(md, PS_LIST_TAIL, "uri", PS_DATA_STRING, NULL, uri)) {
    1249112542        psError(PS_ERR_UNKNOWN, false, "failed to add item uri");
     12543        psFree(md);
     12544        return false;
     12545    }
     12546    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, path_base)) {
     12547        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
    1249212548        psFree(md);
    1249312549        return false;
     
    1252612582bool stackSumSkyfileInsertObject(psDB *dbh, stackSumSkyfileRow *object)
    1252712583{
    12528     return stackSumSkyfileInsert(dbh, object->stack_id, object->uri, object->bg, object->bg_stdev);
     12584    return stackSumSkyfileInsert(dbh, object->stack_id, object->uri, object->path_base, object->bg, object->bg_stdev);
    1252912585}
    1253012586
     
    1260912665        return false;
    1261012666    }
     12667    if (!psMetadataAdd(md, PS_LIST_TAIL, "path_base", PS_DATA_STRING, NULL, object->path_base)) {
     12668        psError(PS_ERR_UNKNOWN, false, "failed to add item path_base");
     12669        psFree(md);
     12670        return false;
     12671    }
    1261112672    if (!psMetadataAdd(md, PS_LIST_TAIL, "bg", PS_DATA_F64, NULL, object->bg)) {
    1261212673        psError(PS_ERR_UNKNOWN, false, "failed to add item bg");
     
    1263812699        return false;
    1263912700    }
     12701    char* path_base = psMetadataLookupPtr(&status, md, "path_base");
     12702    if (!status) {
     12703        psError(PS_ERR_UNKNOWN, true, "failed to lookup value for item path_base");
     12704        return false;
     12705    }
    1264012706    psF64 bg = psMetadataLookupF64(&status, md, "bg");
    1264112707    if (!status) {
     
    1264912715    }
    1265012716
    12651     return stackSumSkyfileRowAlloc(stack_id, uri, bg, bg_stdev);
     12717    return stackSumSkyfileRowAlloc(stack_id, uri, path_base, bg, bg_stdev);
    1265212718}
    1265312719psArray *stackSumSkyfileSelectRowObjects(psDB *dbh, const psMetadata *where, unsigned long long limit)
  • trunk/ippdb/src/ippdb.h

    r13649 r13739  
    51335133    char            *tess_id;
    51345134    char            *uri;
     5135    char            *path_base;
    51355136    psF64           bg;
    51365137    psF64           bg_stdev;
     
    51475148    const char      *tess_id,
    51485149    const char      *uri,
     5150    const char      *path_base,
    51495151    psF64           bg,
    51505152    psF64           bg_stdev
     
    51825184    const char      *tess_id,
    51835185    const char      *uri,
     5186    const char      *path_base,
    51845187    psF64           bg,
    51855188    psF64           bg_stdev
     
    57645767    psS64           diff_id;
    57655768    char            *uri;
     5769    char            *path_base;
    57665770    psF64           bg;
    57675771    psF64           bg_stdev;
     
    57765780    psS64           diff_id,
    57775781    const char      *uri,
     5782    const char      *path_base,
    57785783    psF64           bg,
    57795784    psF64           bg_stdev
     
    58095814    psS64           diff_id,
    58105815    const char      *uri,
     5816    const char      *path_base,
    58115817    psF64           bg,
    58125818    psF64           bg_stdev
     
    63796385    psS64           stack_id;
    63806386    char            *uri;
     6387    char            *path_base;
    63816388    psF64           bg;
    63826389    psF64           bg_stdev;
     
    63916398    psS64           stack_id,
    63926399    const char      *uri,
     6400    const char      *path_base,
    63936401    psF64           bg,
    63946402    psF64           bg_stdev
     
    64246432    psS64           stack_id,
    64256433    const char      *uri,
     6434    const char      *path_base,
    64266435    psF64           bg,
    64276436    psF64           bg_stdev
  • trunk/ippdb/tests/alloc.c

    r13649 r13739  
    10821082        warpSkyfileRow  *object;
    10831083
    1084         object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", 64.64, 64.64    );
     1084        object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", "a string", 64.64, 64.64    );
    10851085
    10861086        if (!object) {
     
    11041104            exit(EXIT_FAILURE);
    11051105        }
     1106        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
     1107            psFree(object);
     1108            exit(EXIT_FAILURE);
     1109        }
    11061110        if (!object->bg == 64.64) {
    11071111            psFree(object);
     
    11961200        diffSkyfileRow  *object;
    11971201
    1198         object = diffSkyfileRowAlloc(-64, "a string", 64.64, 64.64    );
     1202        object = diffSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64    );
    11991203
    12001204        if (!object) {
     
    12101214            exit(EXIT_FAILURE);
    12111215        }
     1216        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
     1217            psFree(object);
     1218            exit(EXIT_FAILURE);
     1219        }
    12121220        if (!object->bg == 64.64) {
    12131221            psFree(object);
     
    12861294        stackSumSkyfileRow *object;
    12871295
    1288         object = stackSumSkyfileRowAlloc(-64, "a string", 64.64, 64.64    );
     1296        object = stackSumSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64    );
    12891297
    12901298        if (!object) {
     
    12971305        }
    12981306        if (strncmp(object->uri, "a string", MAX_STRING_LENGTH)) {
     1307            psFree(object);
     1308            exit(EXIT_FAILURE);
     1309        }
     1310        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
    12991311            psFree(object);
    13001312            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/insert.c

    r13649 r13739  
    358358        }
    359359
    360         if (!warpSkyfileInsert(dbh, -64, "a string", "a string", "a string", 64.64, 64.64)) {
     360        if (!warpSkyfileInsert(dbh, -64, "a string", "a string", "a string", "a string", 64.64, 64.64)) {
    361361            exit(EXIT_FAILURE);
    362362        }
     
    403403        }
    404404
    405         if (!diffSkyfileInsert(dbh, -64, "a string", 64.64, 64.64)) {
     405        if (!diffSkyfileInsert(dbh, -64, "a string", "a string", 64.64, 64.64)) {
    406406            exit(EXIT_FAILURE);
    407407        }
     
    448448        }
    449449
    450         if (!stackSumSkyfileInsert(dbh, -64, "a string", 64.64, 64.64)) {
     450        if (!stackSumSkyfileInsert(dbh, -64, "a string", "a string", 64.64, 64.64)) {
    451451            exit(EXIT_FAILURE);
    452452        }
  • trunk/ippdb/tests/insertobject.c

    r13649 r13739  
    520520        }
    521521
    522         object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", 64.64, 64.64);
     522        object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", "a string", 64.64, 64.64);
    523523        if (!object) {
    524524            exit(EXIT_FAILURE);
     
    586586        }
    587587
    588         object = diffSkyfileRowAlloc(-64, "a string", 64.64, 64.64);
     588        object = diffSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64);
    589589        if (!object) {
    590590            exit(EXIT_FAILURE);
     
    652652        }
    653653
    654         object = stackSumSkyfileRowAlloc(-64, "a string", 64.64, 64.64);
     654        object = stackSumSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64);
    655655        if (!object) {
    656656            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/metadatafromobject.c

    r13649 r13739  
    12461246        bool            status;
    12471247
    1248         object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", 64.64, 64.64);
     1248        object = warpSkyfileRowAlloc(-64, "a string", "a string", "a string", "a string", 64.64, 64.64);
    12491249        if (!object) {
    12501250            exit(EXIT_FAILURE);
     
    12731273            exit(EXIT_FAILURE);
    12741274        }
     1275        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
     1276            psFree(md);
     1277            exit(EXIT_FAILURE);
     1278        }
    12751279        if (!psMetadataLookupF64(&status, md, "bg") == 64.64) {
    12761280            psFree(md);
     
    13801384        bool            status;
    13811385
    1382         object = diffSkyfileRowAlloc(-64, "a string", 64.64, 64.64);
     1386        object = diffSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64);
    13831387        if (!object) {
    13841388            exit(EXIT_FAILURE);
     
    13991403            exit(EXIT_FAILURE);
    14001404        }
     1405        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
     1406            psFree(md);
     1407            exit(EXIT_FAILURE);
     1408        }
    14011409        if (!psMetadataLookupF64(&status, md, "bg") == 64.64) {
    14021410            psFree(md);
     
    14901498        bool            status;
    14911499
    1492         object = stackSumSkyfileRowAlloc(-64, "a string", 64.64, 64.64);
     1500        object = stackSumSkyfileRowAlloc(-64, "a string", "a string", 64.64, 64.64);
    14931501        if (!object) {
    14941502            exit(EXIT_FAILURE);
     
    15061514        }
    15071515        if (strncmp(psMetadataLookupPtr(&status, md, "uri"), "a string", MAX_STRING_LENGTH)) {
     1516            psFree(md);
     1517            exit(EXIT_FAILURE);
     1518        }
     1519        if (strncmp(psMetadataLookupPtr(&status, md, "path_base"), "a string", MAX_STRING_LENGTH)) {
    15081520            psFree(md);
    15091521            exit(EXIT_FAILURE);
  • trunk/ippdb/tests/objectfrommetadata.c

    r13649 r13739  
    19421942            exit(EXIT_FAILURE);
    19431943        }
     1944        if (!psMetadataAddStr(md, PS_LIST_TAIL, "path_base", 0, NULL, "a string")) {
     1945            psFree(md);
     1946            exit(EXIT_FAILURE);
     1947        }
    19441948        if (!psMetadataAddF64(md, PS_LIST_TAIL, "bg", 0, NULL, 64.64)) {
    19451949            psFree(md);
     
    19741978            exit(EXIT_FAILURE);
    19751979        }
     1980        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
     1981            psFree(object);
     1982            exit(EXIT_FAILURE);
     1983        }
    19761984        if (!object->bg == 64.64) {
    19771985            psFree(object);
     
    21302138            exit(EXIT_FAILURE);
    21312139        }
     2140        if (!psMetadataAddStr(md, PS_LIST_TAIL, "path_base", 0, NULL, "a string")) {
     2141            psFree(md);
     2142            exit(EXIT_FAILURE);
     2143        }
    21322144        if (!psMetadataAddF64(md, PS_LIST_TAIL, "bg", 0, NULL, 64.64)) {
    21332145            psFree(md);
     
    21542166            exit(EXIT_FAILURE);
    21552167        }
     2168        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
     2169            psFree(object);
     2170            exit(EXIT_FAILURE);
     2171        }
    21562172        if (!object->bg == 64.64) {
    21572173            psFree(object);
     
    22782294            exit(EXIT_FAILURE);
    22792295        }
     2296        if (!psMetadataAddStr(md, PS_LIST_TAIL, "path_base", 0, NULL, "a string")) {
     2297            psFree(md);
     2298            exit(EXIT_FAILURE);
     2299        }
    22802300        if (!psMetadataAddF64(md, PS_LIST_TAIL, "bg", 0, NULL, 64.64)) {
    22812301            psFree(md);
     
    22992319        }
    23002320        if (strncmp(object->uri, "a string", MAX_STRING_LENGTH)) {
     2321            psFree(object);
     2322            exit(EXIT_FAILURE);
     2323        }
     2324        if (strncmp(object->path_base, "a string", MAX_STRING_LENGTH)) {
    23012325            psFree(object);
    23022326            exit(EXIT_FAILURE);
Note: See TracChangeset for help on using the changeset viewer.