Index: /branches/eam_branches/ipp-20120405/Ohana/src/relphot/include/relphot.h
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relphot/include/relphot.h	(revision 33873)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relphot/include/relphot.h	(revision 33874)
@@ -81,15 +81,15 @@
 
 /* global variables set in parameter file */
-# define MAX_PATH_LENGTH 1024
-char   ImageCat[MAX_PATH_LENGTH];
-char   ImageTemplate[MAX_PATH_LENGTH];
-char   CatTemplate[MAX_PATH_LENGTH];
-char   GSCFILE[MAX_PATH_LENGTH];
+# define DVO_MAX_PATH 1024
+char   ImageCat[DVO_MAX_PATH];
+char   ImageTemplate[DVO_MAX_PATH];
+char   CatTemplate[DVO_MAX_PATH];
+char   GSCFILE[DVO_MAX_PATH];
 char  *CATDIR;
 char   CATMODE[16];    /* raw, mef, split, mysql */
 char   CATFORMAT[16];  /* internal, elixir, loneos, panstarrs */
-char   CameraConfig[MAX_PATH_LENGTH];
+char   CameraConfig[DVO_MAX_PATH];
 char   CAMERA[64];    /* eg, gpc1 */
-char   SKY_TABLE[MAX_PATH_LENGTH];
+char   SKY_TABLE[DVO_MAX_PATH];
 int    SKY_DEPTH;  /** XXX EAM : depth of catalog tables, fix usage */
 
Index: /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/ConfigInit.c
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/ConfigInit.c	(revision 33873)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/ConfigInit.c	(revision 33874)
@@ -35,7 +35,7 @@
   // force CATDIR to be absolute (so parallel mode will work)
   char *tmpcatdir = NULL;
-  ALLOCATE (tmpcatdir, char, MAX_PATH_LENGTH);
+  ALLOCATE (tmpcatdir, char, DVO_MAX_PATH);
   GetConfig (config, "CATDIR",                 "%s",  0, tmpcatdir);
-  CATDIR = abspath (tmpcatdir, MAX_PATH_LENGTH);
+  CATDIR = abspath (tmpcatdir, DVO_MAX_PATH);
   free (tmpcatdir);
 
Index: /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/load_catalogs.c
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/load_catalogs.c	(revision 33873)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/load_catalogs.c	(revision 33874)
@@ -123,5 +123,5 @@
 
     // ensure that the paths are absolute path names
-    char *tmppath = abspath (table->hosts[i].pathname, MAX_PATH_LENGTH);
+    char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH);
     free (table->hosts[i].pathname);
     table->hosts[i].pathname = tmppath;
Index: /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/reload_catalogs.c
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/reload_catalogs.c	(revision 33873)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/reload_catalogs.c	(revision 33874)
@@ -141,5 +141,5 @@
 
     // ensure that the paths are absolute path names
-    char *tmppath = abspath (table->hosts[i].pathname, MAX_PATH_LENGTH);
+    char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH);
     free (table->hosts[i].pathname);
     table->hosts[i].pathname = tmppath;
Index: /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/relphot_objects.c
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/relphot_objects.c	(revision 33873)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relphot/src/relphot_objects.c	(revision 33874)
@@ -133,5 +133,5 @@
 
     // ensure that the paths are absolute path names
-    char *tmppath = abspath (table->hosts[i].pathname, MAX_PATH_LENGTH);
+    char *tmppath = abspath (table->hosts[i].pathname, DVO_MAX_PATH);
     free (table->hosts[i].pathname);
     table->hosts[i].pathname = tmppath;
