IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 16, 2012, 4:16:48 PM (14 years ago)
Author:
eugene
Message:

move max path length to dvo.h and rename DVO_MAX_PATH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120405/Ohana/src/opihi/dvo/hosts.c

    r33662 r33870  
    11# include "dvoshell.h"
    22# include <glob.h>
    3 # define MAX_PATH_LENGTH 1024
     3# define DVO_MAX_PATH 1024
    44
    55// functions to manage the remote hosts
     
    5959    for (i = 0; i < table->Nhosts; i++) {
    6060      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);
    6363      if (VERBOSE) gprint (GP_ERR, "checking %s\n", name);
    6464      glob (name, 0, NULL, &pglob);
Note: See TracChangeset for help on using the changeset viewer.