Changeset 33963 for trunk/Ohana/src/relastro/src/high_speed_catalogs.c
- Timestamp:
- May 30, 2012, 1:46:12 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Ohana/src/relastro/src/high_speed_catalogs.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
trunk/Ohana/src/relastro/src/high_speed_catalogs.c
r33652 r33963 68 68 char line[2048]; 69 69 snprintf (line, 2048, "cp %s/Images.dat %s/Images.dat", CATDIR, HIGH_SPEED_DIR); 70 system (line); 70 int status = system (line); 71 if (status) { 72 fprintf (stderr, "copy of Images.dat failed\n"); 73 exit (3); 74 } 71 75 } 72 76 … … 109 113 110 114 // ensure that the paths are absolute path names 111 char *tmppath = abspath (table->hosts[i].pathname, MAX_PATH_LENGTH);115 char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH); 112 116 free (table->hosts[i].pathname); 113 117 table->hosts[i].pathname = tmppath; … … 125 129 126 130 free (outputDir); 127 outputDir = abspath (tableOut->hosts[index].pathname, MAX_PATH_LENGTH);131 outputDir = abspath (tableOut->hosts[index].pathname, DVO_MAX_PATH); 128 132 } 129 133
Note:
See TracChangeset
for help on using the changeset viewer.
