Changeset 36884 for branches/eam_branches/ipp-20140610/Ohana
- Timestamp:
- Jun 17, 2014, 5:58:38 AM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140610
- Files:
-
- 7 edited
-
. (modified) (1 prop)
-
Ohana/src/getstar (modified) (1 prop)
-
Ohana/src/getstar/src/ReadImageFiles.c (modified) (1 diff)
-
Ohana/src/relastro/src/launch_region_hosts.c (modified) (1 diff)
-
Ohana/src/relastro/src/syncfile.c (modified) (1 diff)
-
Ohana/src/relphot/src/launch_region_hosts.c (modified) (1 diff)
-
Ohana/src/relphot/src/syncfile.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140610
- Property svn:mergeinfo changed
/trunk (added) merged: 36846-36871,36874,36879,36882
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20140610/Ohana/src/getstar
-
Property svn:mergeinfo
set to
/branches/eam_branches/ipp-20140423/Ohana/src/getstar merged eligible /tags/ipp-pv3-cr-20140614/Ohana/src/getstar merged eligible /trunk/Ohana/src/getstar merged eligible
-
Property svn:mergeinfo
set to
-
branches/eam_branches/ipp-20140610/Ohana/src/getstar/src/ReadImageFiles.c
r34088 r36884 138 138 !strcmp (tmpword, "PS1_V1") || 139 139 !strcmp (tmpword, "PS1_V2") || 140 !strcmp (tmpword, "PS1_V3")) { 140 !strcmp (tmpword, "PS1_V3") || 141 !strcmp (tmpword, "PS1_V4") || 142 !strcmp (tmpword, "PS1_V5")) { 141 143 142 144 exttype[Nimage] = strcreate (tmpword); -
branches/eam_branches/ipp-20140610/Ohana/src/relastro/src/launch_region_hosts.c
r36833 r36884 9 9 for (i = 0; i < regionHosts->Nhosts; i++) { 10 10 char *syncfile = make_filename (CATDIR, regionHosts->hosts[i].hostname, regionHosts->hosts[i].hostID, "meanmags.sync"); 11 truncate (syncfile, 0);11 if (truncate (syncfile, 0)) fprintf (stderr, "trouble clearing syncfile %s\n", syncfile); 12 12 free (syncfile); 13 13 14 14 char *fitsfile = make_filename (CATDIR, regionHosts->hosts[i].hostname, regionHosts->hosts[i].hostID, "meanmags.fits"); 15 truncate (fitsfile, 0);15 if (truncate (fitsfile, 0)) fprintf (stderr, "trouble clearing fitsfile %s\n", fitsfile); 16 16 free (fitsfile); 17 17 18 18 char *imsyncfile = make_filename (CATDIR, regionHosts->hosts[i].hostname, regionHosts->hosts[i].hostID, "imagemags.sync"); 19 truncate (imsyncfile, 0);19 if (truncate (imsyncfile, 0)) fprintf (stderr, "trouble clearing imsyncfile %s\n", imsyncfile); 20 20 free (imsyncfile); 21 21 22 22 char *imfitsfile = make_filename (CATDIR, regionHosts->hosts[i].hostname, regionHosts->hosts[i].hostID, "imagemags.fits"); 23 truncate (imfitsfile, 0);23 if (truncate (imfitsfile, 0)) fprintf (stderr, "trouble clearing imfitsfile %s\n", imfitsfile); 24 24 free (imfitsfile); 25 25 26 26 char *loopsyncfile = make_filename (CATDIR, regionHosts->hosts[i].hostname, regionHosts->hosts[i].hostID, "loop.sync"); 27 truncate (loopsyncfile, 0);27 if (truncate (loopsyncfile, 0)) fprintf (stderr, "trouble clearing loopsyncfile %s\n", loopsyncfile); 28 28 free (loopsyncfile); 29 29 } -
branches/eam_branches/ipp-20140610/Ohana/src/relastro/src/syncfile.c
r36630 r36884 50 50 int clear_sync_file (char *filename) { 51 51 // delete file contents 52 truncate (filename, 0);52 if (truncate (filename, 0)) fprintf (stderr, "trouble clearing file %s\n", filename); 53 53 54 54 return TRUE; -
branches/eam_branches/ipp-20140610/Ohana/src/relphot/src/launch_region_hosts.c
r36630 r36884 22 22 for (i = 0; i < regionHosts->Nhosts; i++) { 23 23 char *syncfile = make_filename (CATDIR, regionHosts->hosts[i].hostname, regionHosts->hosts[i].hostID, "meanmags.sync"); 24 truncate (syncfile, 0);24 if (truncate (syncfile, 0)) fprintf (stderr, "trouble clearing syncfile %s\n", syncfile); 25 25 free (syncfile); 26 26 27 27 char *fitsfile = make_filename (CATDIR, regionHosts->hosts[i].hostname, regionHosts->hosts[i].hostID, "meanmags.fits"); 28 truncate (fitsfile, 0);28 if (truncate (fitsfile, 0)) fprintf (stderr, "trouble clearing fitsfile %s\n", fitsfile ); 29 29 free (fitsfile); 30 30 31 31 char *imsyncfile = make_filename (CATDIR, regionHosts->hosts[i].hostname, regionHosts->hosts[i].hostID, "imagemags.sync"); 32 truncate (imsyncfile, 0);32 if (truncate (imsyncfile, 0)) fprintf (stderr, "trouble clearing imsyncfile %s\n", imsyncfile); 33 33 free (imsyncfile); 34 34 35 35 char *imfitsfile = make_filename (CATDIR, regionHosts->hosts[i].hostname, regionHosts->hosts[i].hostID, "imagemags.fits"); 36 truncate (imfitsfile, 0);36 if (truncate (imfitsfile, 0)) fprintf (stderr, "trouble clearing imfitsfile %s\n", imfitsfile); 37 37 free (imfitsfile); 38 38 39 39 char *loopsyncfile = make_filename (CATDIR, regionHosts->hosts[i].hostname, regionHosts->hosts[i].hostID, "loop.sync"); 40 truncate (loopsyncfile, 0);40 if (truncate (loopsyncfile, 0)) fprintf (stderr, "trouble clearing loopsyncfile %s\n", loopsyncfile); 41 41 free (loopsyncfile); 42 42 } -
branches/eam_branches/ipp-20140610/Ohana/src/relphot/src/syncfile.c
r36630 r36884 50 50 int clear_sync_file (char *filename) { 51 51 // delete file contents 52 truncate (filename, 0);52 if (truncate (filename, 0)) fprintf (stderr, "trouble clearing file %s\n", filename); 53 53 54 54 return TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.
