Index: /branches/eam_branches/ipp-20120405/Ohana/src/relastro/include/relastro.h
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relastro/include/relastro.h	(revision 33870)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relastro/include/relastro.h	(revision 33871)
@@ -120,12 +120,12 @@
 
 /* global variables set in parameter file */
-# define MAX_PATH_LENGTH 1024
-char   ImageCat[MAX_PATH_LENGTH];
-char   GSCFILE[MAX_PATH_LENGTH];
-char   CATDIR[MAX_PATH_LENGTH];
+# define DVO_MAX_PATH 1024
+char   ImageCat[DVO_MAX_PATH];
+char   GSCFILE[DVO_MAX_PATH];
+char   CATDIR[DVO_MAX_PATH];
 char   *HIGH_SPEED_DIR;
 char   CATMODE[16];    /* raw, mef, split, mysql */
 char   CATFORMAT[16];  /* internal, elixir, loneos, panstarrs */
-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/relastro/src/ConfigInit.c
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/ConfigInit.c	(revision 33870)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/ConfigInit.c	(revision 33871)
@@ -39,5 +39,5 @@
   // force CATDIR to be absolute (so parallel mode will work)
   GetConfig (config, "CATDIR",                 "%s",  0, CATDIR);
-  char *tmpcatdir = abspath (CATDIR, MAX_PATH_LENGTH);
+  char *tmpcatdir = abspath (CATDIR, DVO_MAX_PATH);
   strcpy (CATDIR, tmpcatdir);
   free (tmpcatdir);
Index: /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/UpdateObjectOffsets.c
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/UpdateObjectOffsets.c	(revision 33870)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/UpdateObjectOffsets.c	(revision 33871)
@@ -87,5 +87,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/relastro/src/args.c
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/args.c	(revision 33870)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/args.c	(revision 33871)
@@ -98,5 +98,5 @@
     RADIUS = atof(argv[N]);
     remove_argument (N, &argc, argv);
-    HIGH_SPEED_DIR = abspath(argv[N], MAX_PATH_LENGTH);
+    HIGH_SPEED_DIR = abspath(argv[N], DVO_MAX_PATH);
     remove_argument (N, &argc, argv);
   }
Index: /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/high_speed_catalogs.c
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/high_speed_catalogs.c	(revision 33870)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/high_speed_catalogs.c	(revision 33871)
@@ -109,5 +109,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;
@@ -125,5 +125,5 @@
 
       free (outputDir);
-      outputDir = abspath (tableOut->hosts[index].pathname, MAX_PATH_LENGTH);
+      outputDir = abspath (tableOut->hosts[index].pathname, DVO_MAX_PATH);
     }
 
Index: /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/load_catalogs.c
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/load_catalogs.c	(revision 33870)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/load_catalogs.c	(revision 33871)
@@ -126,5 +126,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/relastro/src/relastro_objects.c
===================================================================
--- /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/relastro_objects.c	(revision 33870)
+++ /branches/eam_branches/ipp-20120405/Ohana/src/relastro/src/relastro_objects.c	(revision 33871)
@@ -109,5 +109,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;
