Changeset 42389 for trunk/Ohana/src/getstar
- Timestamp:
- Feb 8, 2023, 12:17:35 PM (3 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 5 edited
-
. (modified) (1 prop)
-
src/getstar/src/ConfigInit.c (modified) (2 diffs)
-
src/getstar/src/ConfigInit_coords.c (modified) (1 diff)
-
src/getstar/src/ConfigInit_extract.c (modified) (1 diff)
-
src/getstar/src/ConfigInit_overlaps.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
-
trunk/Ohana/src/getstar/src/ConfigInit.c
r34749 r42389 1 1 # include "getstar.h" 2 3 # define MY_MAX_PATH 256 2 4 3 5 int ConfigInit (int *argc, char **argv) { 4 6 5 7 char *config, *file; 6 char CatdirPhotcodeFile[ 256];8 char CatdirPhotcodeFile[MY_MAX_PATH]; 7 9 8 10 /*** load configuration info ***/ … … 31 33 32 34 /* XXX this does not yet write out the master photcode table */ 33 s printf (CatdirPhotcodeFile, "%s/Photcodes.dat", CATDIR);35 snprintf_nowarn (CatdirPhotcodeFile, MY_MAX_PATH, "%s/Photcodes.dat", CATDIR); 34 36 if (!LoadPhotcodes (CatdirPhotcodeFile, NULL, FALSE)) { 35 37 fprintf (stderr, "error loading photcode table %s\n", CatdirPhotcodeFile); -
trunk/Ohana/src/getstar/src/ConfigInit_coords.c
r39998 r42389 25 25 SKY_TABLE[0] = 0; 26 26 } 27 s printf (ImageCat, "%s/Images.dat", CATDIR);27 snprintf_nowarn (ImageCat, 256, "%s/Images.dat", CATDIR); 28 28 29 29 /* used by parse_time to find time-related keywords */ -
trunk/Ohana/src/getstar/src/ConfigInit_extract.c
r27435 r42389 25 25 SKY_TABLE[0] = 0; 26 26 } 27 s printf (ImageCat, "%s/Images.dat", CATDIR);27 snprintf_nowarn (ImageCat, 256, "%s/Images.dat", CATDIR); 28 28 29 29 if (*CATMODE == 0) strcpy (CATMODE, "RAW"); -
trunk/Ohana/src/getstar/src/ConfigInit_overlaps.c
r41891 r42389 25 25 SKY_TABLE[0] = 0; 26 26 } 27 s printf (ImageCat, "%s/Images.dat", CATDIR);27 snprintf_nowarn (ImageCat, 256, "%s/Images.dat", CATDIR); 28 28 29 29 /* used by parse_time to find time-related keywords */
Note:
See TracChangeset
for help on using the changeset viewer.
