Changeset 8427 for trunk/Ohana/src/opihi/dvo/dmt.c
- Timestamp:
- Aug 20, 2006, 5:36:41 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/dmt.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/dmt.c
r7917 r8427 70 70 /* lock, load, unlock catalog */ 71 71 catalog.filename = skylist[0].filename[k]; 72 switch (lock_catalog (&catalog, LCK_SOFT)) { 73 case 2: 74 unlock_catalog (&catalog); 75 case 0: 76 continue; 72 catalog.catflags = LOAD_AVES | LOAD_MEAS | LOAD_SECF; 73 74 // an error exit status here is a significant error 75 if (!dvo_catalog_open (&catalog, NULL, FALSE, "r")) { 76 fprintf (stderr, "ERROR: failure to open catalog file %s\n", catalog.filename); 77 exit (2); 77 78 } 78 catalog.catflags = LOAD_AVES | LOAD_MEAS | LOAD_SECF; 79 if (!load_catalog (&catalog, TRUE)) { 80 unlock_catalog (&catalog); 81 continue; 82 } 83 unlock_catalog (&catalog); 79 dvo_catalog_unlock (&catalog); 84 80 85 81 for (i = 0; i < catalog.Naverage; i++) { … … 114 110 } 115 111 } 112 dvo_catalog_free (&catalog); 116 113 } 117 114 Yvec.Nelements = Xvec.Nelements = N;
Note:
See TracChangeset
for help on using the changeset viewer.
