Changeset 38658
- Timestamp:
- Aug 1, 2015, 4:04:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150625/Ohana/src/libdvo/src/dvo_catalog_split.c
r38613 r38658 92 92 if (OHANA_MEMCHECK) ohana_memcheck (TRUE); 93 93 94 if (!catalog->f) return TRUE; 95 94 96 /* rewind file pointers and truncate (file is still open) */ 95 97 if (fseeko (catalog->f, 0LL, SEEK_SET)) { … … 1003 1005 1004 1006 /*** Lensing Table ***/ 1005 if ((catalog[0].catflags & DVO_LOAD_LENSING) && (catalog[0].lensing != NULL)) {1007 if ((catalog[0].catflags & DVO_LOAD_LENSING) && catalog[0].lensing && Nlensing_disk_new) { 1006 1008 1007 1009 off_t first = 0; // first row in memory to write … … 1034 1036 1035 1037 /*** Lensobj Table ***/ 1036 if ((catalog[0].catflags & DVO_LOAD_LENSOBJ) && (catalog[0].lensobj != NULL)) {1038 if ((catalog[0].catflags & DVO_LOAD_LENSOBJ) && catalog[0].lensobj && Nlensobj_disk_new) { 1037 1039 1038 1040 off_t first = 0; // first row in memory to write … … 1065 1067 1066 1068 /*** StarPar Table ***/ 1067 if ((catalog[0].catflags & DVO_LOAD_STARPAR) && (catalog[0].starpar != NULL)) {1069 if ((catalog[0].catflags & DVO_LOAD_STARPAR) && catalog[0].starpar && Nstarpar_disk_new) { 1068 1070 1069 1071 off_t first = 0; // first row in memory to write … … 1096 1098 1097 1099 /*** GalPhot Table ***/ 1098 if ((catalog[0].catflags & DVO_LOAD_GALPHOT) && (catalog[0].galphot != NULL)) {1100 if ((catalog[0].catflags & DVO_LOAD_GALPHOT) && catalog[0].galphot && Ngalphot_disk_new) { 1099 1101 1100 1102 off_t first = 0; // first row in memory to write
Note:
See TracChangeset
for help on using the changeset viewer.
