Changeset 33871 for branches/eam_branches/ipp-20120405/Ohana
- Timestamp:
- May 16, 2012, 4:17:14 PM (14 years ago)
- Location:
- branches/eam_branches/ipp-20120405/Ohana/src/relastro
- Files:
-
- 7 edited
-
include/relastro.h (modified) (1 diff)
-
src/ConfigInit.c (modified) (1 diff)
-
src/UpdateObjectOffsets.c (modified) (1 diff)
-
src/args.c (modified) (1 diff)
-
src/high_speed_catalogs.c (modified) (2 diffs)
-
src/load_catalogs.c (modified) (1 diff)
-
src/relastro_objects.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120405/Ohana/src/relastro/include/relastro.h
r33652 r33871 120 120 121 121 /* global variables set in parameter file */ 122 # define MAX_PATH_LENGTH 1024123 char ImageCat[ MAX_PATH_LENGTH];124 char GSCFILE[ MAX_PATH_LENGTH];125 char CATDIR[ MAX_PATH_LENGTH];122 # define DVO_MAX_PATH 1024 123 char ImageCat[DVO_MAX_PATH]; 124 char GSCFILE[DVO_MAX_PATH]; 125 char CATDIR[DVO_MAX_PATH]; 126 126 char *HIGH_SPEED_DIR; 127 127 char CATMODE[16]; /* raw, mef, split, mysql */ 128 128 char CATFORMAT[16]; /* internal, elixir, loneos, panstarrs */ 129 char SKY_TABLE[ MAX_PATH_LENGTH];129 char SKY_TABLE[DVO_MAX_PATH]; 130 130 int SKY_DEPTH; /** XXX EAM : depth of catalog tables, fix usage */ 131 131 -
branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/ConfigInit.c
r33652 r33871 39 39 // force CATDIR to be absolute (so parallel mode will work) 40 40 GetConfig (config, "CATDIR", "%s", 0, CATDIR); 41 char *tmpcatdir = abspath (CATDIR, MAX_PATH_LENGTH);41 char *tmpcatdir = abspath (CATDIR, DVO_MAX_PATH); 42 42 strcpy (CATDIR, tmpcatdir); 43 43 free (tmpcatdir); -
branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/UpdateObjectOffsets.c
r33652 r33871 87 87 88 88 // ensure that the paths are absolute path names 89 char *tmppath = abspath (table->hosts[i].pathname, MAX_PATH_LENGTH);89 char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH); 90 90 free (table->hosts[i].pathname); 91 91 table->hosts[i].pathname = tmppath; -
branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/args.c
r33652 r33871 98 98 RADIUS = atof(argv[N]); 99 99 remove_argument (N, &argc, argv); 100 HIGH_SPEED_DIR = abspath(argv[N], MAX_PATH_LENGTH);100 HIGH_SPEED_DIR = abspath(argv[N], DVO_MAX_PATH); 101 101 remove_argument (N, &argc, argv); 102 102 } -
branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/high_speed_catalogs.c
r33652 r33871 109 109 110 110 // ensure that the paths are absolute path names 111 char *tmppath = abspath (table->hosts[i].pathname, MAX_PATH_LENGTH);111 char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH); 112 112 free (table->hosts[i].pathname); 113 113 table->hosts[i].pathname = tmppath; … … 125 125 126 126 free (outputDir); 127 outputDir = abspath (tableOut->hosts[index].pathname, MAX_PATH_LENGTH);127 outputDir = abspath (tableOut->hosts[index].pathname, DVO_MAX_PATH); 128 128 } 129 129 -
branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/load_catalogs.c
r33652 r33871 126 126 127 127 // ensure that the paths are absolute path names 128 char *tmppath = abspath (table->hosts[i].pathname, MAX_PATH_LENGTH);128 char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH); 129 129 free (table->hosts[i].pathname); 130 130 table->hosts[i].pathname = tmppath; -
branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/relastro_objects.c
r33652 r33871 109 109 110 110 // ensure that the paths are absolute path names 111 char *tmppath = abspath (table->hosts[i].pathname, MAX_PATH_LENGTH);111 char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH); 112 112 free (table->hosts[i].pathname); 113 113 table->hosts[i].pathname = tmppath;
Note:
See TracChangeset
for help on using the changeset viewer.
