Changeset 42389 for trunk/Ohana/src/dvomerge
- Timestamp:
- Feb 8, 2023, 12:17:35 PM (3 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
src/dvomerge/src/dvorepairFixStackIDs.c (modified) (1 diff)
-
src/dvomerge/src/dvorepairFixWarpIDs.c (modified) (1 diff)
-
src/dvomerge/src/dvosecfilt_catalogs.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
trunk/Ohana/src/dvomerge/src/dvorepairFixStackIDs.c
r39336 r42389 33 33 34 34 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); 37 37 38 38 if ((image = LoadImages (&db, imageFilenameOld, &Nimage)) == NULL) { -
trunk/Ohana/src/dvomerge/src/dvorepairFixWarpIDs.c
r39329 r42389 46 46 47 47 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); 50 50 51 51 if ((image = LoadImages (&db, imageFilenameOld, &Nimage)) == NULL) { -
trunk/Ohana/src/dvomerge/src/dvosecfilt_catalogs.c
r40378 r42389 34 34 35 35 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); 37 37 38 38 dvo_catalog_init (&catalog, TRUE); … … 116 116 // options / arguments that can affect relastro_client -update-objects: 117 117 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", 119 119 abscatdir, Nsecfilt, table->hosts[i].hostID, table->hosts[i].pathname, 120 120 UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax … … 122 122 123 123 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); } 126 126 127 127 fprintf (stderr, "command: %s\n", command);
Note:
See TracChangeset
for help on using the changeset viewer.
