Changeset 30580
- Timestamp:
- Feb 11, 2011, 3:07:40 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20101205/Ohana/src/opihi/dvo
- Files:
-
- 4 edited
-
avextract.c (modified) (2 diffs)
-
imextract.c (modified) (1 diff)
-
mextract.c (modified) (1 diff)
-
mmextract.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/Ohana/src/opihi/dvo/avextract.c
r28241 r30580 44 44 45 45 // parse skyregion options 46 if ((selection = SetRegionSelection (&argc, argv)) == NULL) goto escape; 46 if ((selection = SetRegionSelection (&argc, argv)) == NULL) { 47 print_error(); 48 goto escape; 49 } 47 50 48 51 // command-line is of the form: avextract field,field, field [where (field op value)...] … … 68 71 // construct the db Boolean math stack (frees cstack) 69 72 stack = dbRPN (Ncstack, cstack, &Nstack); 73 if (Ncstack && !Nstack) { 74 print_error(); 75 goto escape; 76 } 70 77 71 78 // add the skyregion limits to the where statement (or create) -
branches/eam_branches/ipp-20101205/Ohana/src/opihi/dvo/imextract.c
r28958 r30580 62 62 // construct the db Boolean math stack (frees cstack) 63 63 stack = dbRPN (Ncstack, cstack, &Nstack); 64 if (Ncstack && !Nstack) { 65 print_error(); 66 goto escape; 67 } 64 68 65 69 // add the skyregion limits to the where statement (or create) -
branches/eam_branches/ipp-20101205/Ohana/src/opihi/dvo/mextract.c
r28955 r30580 68 68 // construct the db Boolean math stack (frees cstack) 69 69 stack = dbRPN (Ncstack, cstack, &Nstack); 70 if ( (Ncstack > 0) && (Nstack < 1)) {70 if (Ncstack && !Nstack) { 71 71 print_error (); 72 72 goto escape; -
branches/eam_branches/ipp-20101205/Ohana/src/opihi/dvo/mmextract.c
r28241 r30580 106 106 // construct the db Boolean math stack (frees cstack) 107 107 stack1 = dbRPN (Ncstack1, cstack1, &Nstack1); 108 if ( (Ncstack1 > 0) && (Nstack1 < 1)) {108 if (Ncstack1 && !Nstack1) { 109 109 print_error (); 110 110 goto escape; … … 113 113 // construct the db Boolean math stack (frees cstack) 114 114 stack2 = dbRPN (Ncstack2, cstack2, &Nstack2); 115 if ( (Ncstack2 > 0) && (Nstack2 < 1)) {115 if (Ncstack2 && !Nstack2) { 116 116 print_error (); 117 117 goto escape;
Note:
See TracChangeset
for help on using the changeset viewer.
