IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 8, 2023, 12:17:35 PM (3 years ago)
Author:
eugene
Message:

merge from eam_branches/ipp-20220316. fixes for more pendantic gcc; add opihi memory stats; string vector improvements; use named macros for fixed string lengths

Location:
trunk/Ohana
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/dvomerge/src/dvorepairFixStackIDs.c

    r39336 r42389  
    3333
    3434  while (fscanf (f, "%s", catdir) != EOF) {
    35     snprintf (imageFilenameOld, DVO_MAX_PATH, "%s/Images.dat", catdir);
    36     snprintf (imageFilenameNew, DVO_MAX_PATH, "%s/Images.dat.fixed", catdir);
     35    snprintf_nowarn (imageFilenameOld, DVO_MAX_PATH, "%s/Images.dat", catdir);
     36    snprintf_nowarn (imageFilenameNew, DVO_MAX_PATH, "%s/Images.dat.fixed", catdir);
    3737   
    3838    if ((image = LoadImages (&db, imageFilenameOld, &Nimage)) == NULL) {
  • trunk/Ohana/src/dvomerge/src/dvorepairFixWarpIDs.c

    r39329 r42389  
    4646
    4747  while (fscanf (f, "%s", catdir) != EOF) {
    48     snprintf (imageFilenameOld, DVO_MAX_PATH, "%s/Images.dat", catdir);
    49     snprintf (imageFilenameNew, DVO_MAX_PATH, "%s/Images.dat.fixed", catdir);
     48    snprintf_nowarn (imageFilenameOld, DVO_MAX_PATH, "%s/Images.dat", catdir);
     49    snprintf_nowarn (imageFilenameNew, DVO_MAX_PATH, "%s/Images.dat.fixed", catdir);
    5050   
    5151    if ((image = LoadImages (&db, imageFilenameOld, &Nimage)) == NULL) {
  • trunk/Ohana/src/dvomerge/src/dvosecfilt_catalogs.c

    r40378 r42389  
    3434
    3535    char hostfile[1024];
    36     snprintf (hostfile, 1024, "%s/%s.cpt", HOSTDIR, skylist->regions[i]->name);
     36    snprintf_nowarn (hostfile, 1024, "%s/%s.cpt", HOSTDIR, skylist->regions[i]->name);
    3737
    3838    dvo_catalog_init (&catalog, TRUE);
     
    116116    // options / arguments that can affect relastro_client -update-objects:
    117117    char command[DVO_MAX_PATH];
    118     snprintf (command, DVO_MAX_PATH, "dvosecfilt_client %s %d -hostID %d -hostdir %s -region %f %f %f %f",
     118    snprintf_nowarn (command, DVO_MAX_PATH, "dvosecfilt_client %s %d -hostID %d -hostdir %s -region %f %f %f %f",
    119119              abscatdir, Nsecfilt, table->hosts[i].hostID, table->hosts[i].pathname,
    120120              UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax
     
    122122
    123123    char tmpline[DVO_MAX_PATH];
    124     if (VERBOSE)    { snprintf (tmpline, DVO_MAX_PATH, "%s -v",      command);             strcpy (command, tmpline); }
    125     if (SINGLE_CPT) { snprintf (tmpline, DVO_MAX_PATH, "%s -cpt %s", command, SINGLE_CPT); strcpy (command, tmpline); }
     124    if (VERBOSE)    { snprintf_nowarn (tmpline, DVO_MAX_PATH, "%s -v",      command);             strcpy (command, tmpline); }
     125    if (SINGLE_CPT) { snprintf_nowarn (tmpline, DVO_MAX_PATH, "%s -cpt %s", command, SINGLE_CPT); strcpy (command, tmpline); }
    126126
    127127    fprintf (stderr, "command: %s\n", command);
Note: See TracChangeset for help on using the changeset viewer.