Changeset 8427 for trunk/Ohana/src/opihi/dvo/catalog.c
- Timestamp:
- Aug 20, 2006, 5:36:41 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/catalog.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/catalog.c
r7917 r8427 316 316 /* lock, load, unlock catalog */ 317 317 catalog.filename = filename; 318 switch (lock_catalog (&catalog, LCK_SOFT)) {319 case 2:320 unlock_catalog (&catalog);321 case 0:322 continue;323 }324 318 catalog.catflags = LOAD_AVES; 325 if (!load_catalog (&catalog, TRUE)) { 326 unlock_catalog (&catalog); 327 continue; 328 } 329 unlock_catalog (&catalog); 319 320 // an error exit status here is a significant error 321 if (!dvo_catalog_open (&catalog, NULL, FALSE, "r")) { 322 fprintf (stderr, "ERROR: failure to open catalog file %s\n", catalog.filename); 323 exit (2); 324 } 325 dvo_catalog_unlock (&catalog); 330 326 } 331 327
Note:
See TracChangeset
for help on using the changeset viewer.
