Changeset 33361
- Timestamp:
- Feb 24, 2012, 7:50:33 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/photdbc/src/CopyToHostLocation.c
r33303 r33361 95 95 96 96 // need to re-open and re-read tgtname to check md5sum 97 // XXX this would be safer and faster if we used the remote shell to perform the md5sum locally. 97 98 if (!get_md5_with_copy (tgtname, NULL, tgtDigest)) { 98 99 fprintf (stderr, "error reading %s or getting md5\n", tgtname); … … 134 135 sprintf (tgtname, "%s/%s.%s", host->pathname, skylist->regions[i]->name, extname[j]); 135 136 sprintf (srcname, "%s/%s.%s", catdir, skylist->regions[i]->name, extname[j]); 137 138 // do not rename or unlink original if it does not exist.. 139 status = stat (srcname, &filestat); 140 if (status && (errno == ENOENT)) continue; 141 136 142 if (!DEBUG && DELETE_ORIGINAL) { 137 143 unlink (srcname);
Note:
See TracChangeset
for help on using the changeset viewer.
