Changeset 33874
- Timestamp:
- May 16, 2012, 4:18:34 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120405/Ohana/src/relphot
- Files:
-
- 5 edited
-
include/relphot.h (modified) (1 diff)
-
src/ConfigInit.c (modified) (1 diff)
-
src/load_catalogs.c (modified) (1 diff)
-
src/reload_catalogs.c (modified) (1 diff)
-
src/relphot_objects.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120405/Ohana/src/relphot/include/relphot.h
r33827 r33874 81 81 82 82 /* global variables set in parameter file */ 83 # define MAX_PATH_LENGTH 102484 char ImageCat[ MAX_PATH_LENGTH];85 char ImageTemplate[ MAX_PATH_LENGTH];86 char CatTemplate[ MAX_PATH_LENGTH];87 char GSCFILE[ MAX_PATH_LENGTH];83 # define DVO_MAX_PATH 1024 84 char ImageCat[DVO_MAX_PATH]; 85 char ImageTemplate[DVO_MAX_PATH]; 86 char CatTemplate[DVO_MAX_PATH]; 87 char GSCFILE[DVO_MAX_PATH]; 88 88 char *CATDIR; 89 89 char CATMODE[16]; /* raw, mef, split, mysql */ 90 90 char CATFORMAT[16]; /* internal, elixir, loneos, panstarrs */ 91 char CameraConfig[ MAX_PATH_LENGTH];91 char CameraConfig[DVO_MAX_PATH]; 92 92 char CAMERA[64]; /* eg, gpc1 */ 93 char SKY_TABLE[ MAX_PATH_LENGTH];93 char SKY_TABLE[DVO_MAX_PATH]; 94 94 int SKY_DEPTH; /** XXX EAM : depth of catalog tables, fix usage */ 95 95 -
branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/ConfigInit.c
r33651 r33874 35 35 // force CATDIR to be absolute (so parallel mode will work) 36 36 char *tmpcatdir = NULL; 37 ALLOCATE (tmpcatdir, char, MAX_PATH_LENGTH);37 ALLOCATE (tmpcatdir, char, DVO_MAX_PATH); 38 38 GetConfig (config, "CATDIR", "%s", 0, tmpcatdir); 39 CATDIR = abspath (tmpcatdir, MAX_PATH_LENGTH);39 CATDIR = abspath (tmpcatdir, DVO_MAX_PATH); 40 40 free (tmpcatdir); 41 41 -
branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/load_catalogs.c
r33807 r33874 123 123 124 124 // ensure that the paths are absolute path names 125 char *tmppath = abspath (table->hosts[i].pathname, MAX_PATH_LENGTH);125 char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH); 126 126 free (table->hosts[i].pathname); 127 127 table->hosts[i].pathname = tmppath; -
branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/reload_catalogs.c
r33823 r33874 141 141 142 142 // ensure that the paths are absolute path names 143 char *tmppath = abspath (table->hosts[i].pathname, MAX_PATH_LENGTH);143 char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH); 144 144 free (table->hosts[i].pathname); 145 145 table->hosts[i].pathname = tmppath; -
branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/relphot_objects.c
r33823 r33874 133 133 134 134 // ensure that the paths are absolute path names 135 char *tmppath = abspath (table->hosts[i].pathname, MAX_PATH_LENGTH);135 char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH); 136 136 free (table->hosts[i].pathname); 137 137 table->hosts[i].pathname = tmppath;
Note:
See TracChangeset
for help on using the changeset viewer.
