Changeset 35709
- Timestamp:
- Jun 24, 2013, 8:44:48 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130509/Ohana/src/delstar/src
- Files:
-
- 2 edited
-
args.c (modified) (2 diffs)
-
delete_duplicate_measures.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130509/Ohana/src/delstar/src/args.c
r35707 r35709 174 174 MODE = MODE_DUP_MEASURES; 175 175 remove_argument (N, &argc, argv); 176 SKIP_IMAGES = TRUE; // we do not need to load the images for -dup-measures 176 177 } 177 178 if ((N = get_argument (argc, argv, "-photcodes"))) { … … 250 251 }*/ 251 252 253 if (MODE == MODE_NONE) usage (); 254 252 255 if (argc != 1) usage (); 253 256 return (TRUE); -
branches/eam_branches/ipp-20130509/Ohana/src/delstar/src/delete_duplicate_measures.c
r35707 r35709 86 86 } 87 87 88 int i ;88 int i, j; 89 89 for (i = 0; i < table->Nhosts; i++) { 90 91 if (sky->Nregions < table->Nhosts) { 92 // do any of the regions want this host? 93 int wantThisHost = FALSE; 94 for (j = 0; j < sky->Nregions; j++) { 95 if (HostTableTestHost (sky->regions[j], table->hosts[i].hostID)) { 96 wantThisHost = TRUE; 97 break; 98 } 99 } 100 if (!wantThisHost) { 101 // fprintf (stderr, "skip host %s\n", table->hosts[i].hostname); 102 continue; 103 } 104 } 90 105 91 106 // ensure that the paths are absolute path names … … 100 115 101 116 char tmpline[1024]; 102 if (VERBOSE) { snprintf (tmpline, 1024, "%s -v", command); strcpy (command, tmpline); } 103 if (VERBOSE2) { snprintf (tmpline, 1024, "%s -vv", command); strcpy (command, tmpline); } 117 if (VERBOSE) { snprintf (tmpline, 1024, "%s -v", command); strcpy (command, tmpline); } 118 if (VERBOSE2) { snprintf (tmpline, 1024, "%s -vv", command); strcpy (command, tmpline); } 119 if (SINGLE_CPT) { snprintf (tmpline, 1024, "%s -cpt %s", command, SINGLE_CPT); strcpy (command, tmpline); } 120 if (UPDATE) { snprintf (tmpline, 1024, "%s -update", command); strcpy (command, tmpline); } 104 121 105 122 fprintf (stderr, "command: %s\n", command);
Note:
See TracChangeset
for help on using the changeset viewer.
