Changeset 12332 for trunk/Ohana/src/imregister/imphot/ConfigInit.c
- Timestamp:
- Mar 8, 2007, 12:21:18 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/imregister/imphot/ConfigInit.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/imregister/imphot/ConfigInit.c
r6684 r12332 8 8 int i, NDB; 9 9 char *config, *file, ElixirBase[80], catdir[256]; 10 char CatdirPhotcodeFile[256]; 11 char MasterPhotcodeFile[256]; 10 12 11 13 /*** load configuration info ***/ … … 21 23 22 24 WarnConfig (config, "CATDIR", "%s", 0, catdir); 25 WarnConfig (config, "PHOTCODE_FILE", "%s", 0, MasterPhotcodeFile); 23 26 sprintf (ImPhotDB, "%s/Images.dat", catdir); 24 27 25 28 /* small text databases: filters, camera defs */ 26 WarnConfig (config, "PHOTCODE_FILE", "%s", 0, PhotCodeFile);27 29 WarnConfig (config, "TEMPERATURE_LOG", "%s", 0, TempLogFile); 28 30 WarnConfig (config, "FILTER_LIST", "%s", 0, FilterList); … … 69 71 70 72 WarnConfig (config, "imstats", "%s", 0, ElixirBase); 71 sprintf (ImstatFifo, "%s. source", ElixirBase);73 sprintf (ImstatFifo, "%s.photcode", ElixirBase); 72 74 WarnConfig (config, "ptolemy", "%s", 0, ElixirBase); 73 sprintf (PtolemyFifo, "%s. source", ElixirBase);75 sprintf (PtolemyFifo, "%s.photcode", ElixirBase); 74 76 75 77 if (!ScanConfig (config, "CONNECT", "%s", 0, CONNECT)) { … … 97 99 } 98 100 101 /* XXX this does not yet write out the master photcode table */ 102 sprintf (CatdirPhotcodeFile, "%s/Photcodes.dat", CATDIR); 103 if (!LoadPhotcodes (CatdirPhotcodeFile, MasterPhotcodeFile)) { 104 fprintf (stderr, "error loading photcode table %s or master file %s\n", CatdirPhotcodeFile, MasterPhotcodeFile); 105 exit (1); 106 } 107 99 108 free (config); 100 109 free (file);
Note:
See TracChangeset
for help on using the changeset viewer.
