Changeset 27296 for branches/eam_branches/largefiles.20100314/Ohana/src/getstar/src/ConfigInit_extract.c
- Timestamp:
- Mar 16, 2010, 8:10:48 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/largefiles.20100314/Ohana/src/getstar/src/ConfigInit_extract.c
r25757 r27296 4 4 5 5 char *config, *file; 6 char CatdirPhotcodeFile[256];7 char MasterPhotcodeFile[256];8 6 9 7 /*** load configuration info ***/ … … 21 19 ScanConfig (config, "CATMODE", "%s", 0, CATMODE); 22 20 ScanConfig (config, "CATFORMAT", "%s", 0, CATFORMAT); 23 ScanConfig (config, "PHOTCODE_FILE", "%s", 0, MasterPhotcodeFile);24 21 if (!ScanConfig (config, "SKY_DEPTH", "%d", 0, &SKY_DEPTH)) { 25 22 SKY_DEPTH = 2; … … 33 30 if (*CATFORMAT == 0) strcpy (CATFORMAT, "ELIXIR"); 34 31 35 /* XXX this does not yet write out the master photcode table */36 sprintf (CatdirPhotcodeFile, "%s/Photcodes.dat", CATDIR);37 if (!LoadPhotcodes (CatdirPhotcodeFile, MasterPhotcodeFile, TRUE)) {38 fprintf (stderr, "error loading photcode table %s or master file %s\n", CatdirPhotcodeFile, MasterPhotcodeFile);39 exit (1);40 }41 42 32 free (config); 43 33 free (file);
Note:
See TracChangeset
for help on using the changeset viewer.
