- Timestamp:
- May 16, 2012, 4:16:48 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120405/Ohana/src/opihi/dvo/hosts.c
r33662 r33870 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.
