Changeset 33963 for trunk/Ohana/src/opihi/dvo/hosts.c
- Timestamp:
- May 30, 2012, 1:46:12 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
Ohana/src/opihi/dvo/hosts.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
trunk/Ohana/src/opihi/dvo/hosts.c
r33662 r33963 1 1 # include "dvoshell.h" 2 2 # include <glob.h> 3 # define MAX_PATH_LENGTH 10243 # define DVO_MAX_PATH 1024 4 4 5 5 // functions to manage the remote hosts … … 59 59 for (i = 0; i < table->Nhosts; i++) { 60 60 pglob.gl_offs = 0; 61 char name[ MAX_PATH_LENGTH];62 snprintf (name, MAX_PATH_LENGTH, "%s/dvo.results.%05d.*.fits", table->hosts[i].pathname, PID);61 char name[DVO_MAX_PATH]; 62 snprintf (name, DVO_MAX_PATH, "%s/dvo.results.%05d.*.fits", table->hosts[i].pathname, PID); 63 63 if (VERBOSE) gprint (GP_ERR, "checking %s\n", name); 64 64 glob (name, 0, NULL, &pglob);
Note:
See TracChangeset
for help on using the changeset viewer.
