Index: trunk/Ohana/src/addstar/src/LoadData.c
===================================================================
--- trunk/Ohana/src/addstar/src/LoadData.c	(revision 19250)
+++ trunk/Ohana/src/addstar/src/LoadData.c	(revision 19259)
@@ -1,3 +1,4 @@
 # include "addstar.h"
+# define DVO_IMAGE_NAME_LEN 128
 
 // XXX this function is somewhat specific to the elixir format output files 
@@ -43,7 +44,7 @@
     // XXX use something to set the chip name? EXTNAME?
     if (!strcmp(headerSets[i].exthead, "PHU") && (Nimages == 1)) {
-      snprintf (images[0][Nvalid].name, 64, "%s", name);
+      snprintf (images[0][Nvalid].name, DVO_IMAGE_NAME_LEN, "%s", name);
     } else {
-      snprintf (images[0][Nvalid].name, 64, "%s[%s]", name, headerSets[i].exthead);
+      snprintf (images[0][Nvalid].name, DVO_IMAGE_NAME_LEN, "%s[%s]", name, headerSets[i].exthead);
     }
 
Index: trunk/Ohana/src/addstar/src/LoadDataPMM.c
===================================================================
--- trunk/Ohana/src/addstar/src/LoadDataPMM.c	(revision 19250)
+++ trunk/Ohana/src/addstar/src/LoadDataPMM.c	(revision 19259)
@@ -1,3 +1,4 @@
 # include "addstar.h"
+# define DVO_IMAGE_NAME_LEN 128
 
 /* .asc files look like:
@@ -246,5 +247,5 @@
 
     // save the filename
-    snprintf (image[0].name, 64, "%s", datafile);
+    snprintf (image[0].name, DVO_IMAGE_NAME_LEN, "%s", datafile);
     return photcode;
   }
Index: trunk/Ohana/src/addstar/src/ReadStarsSDSS.c
===================================================================
--- trunk/Ohana/src/addstar/src/ReadStarsSDSS.c	(revision 19250)
+++ trunk/Ohana/src/addstar/src/ReadStarsSDSS.c	(revision 19259)
@@ -1,3 +1,4 @@
 # include "addstar.h"
+# define DVO_IMAGE_NAME_LEN 128
 int SetSDSSFlags (Stars *star, unsigned int flags1, unsigned int flags2);
 
@@ -260,5 +261,5 @@
 
     // save the filename
-    snprintf (images[N].name, 64, "%s[%s]", name, filtname[i]);
+    snprintf (images[N].name, DVO_IMAGE_NAME_LEN, "%s[%s]", name, filtname[i]);
   }
 
Index: trunk/Ohana/src/addstar/src/sky_tessalation.c
===================================================================
--- trunk/Ohana/src/addstar/src/sky_tessalation.c	(revision 19250)
+++ trunk/Ohana/src/addstar/src/sky_tessalation.c	(revision 19259)
@@ -2,4 +2,5 @@
 # include "assert.h"
 # define iSWAP(X,Y) {int tmp=(X); (X) = (Y); (Y) = tmp;}
+# define DVO_IMAGE_NAME_LEN 128
 
 // we use a static refcoords structure to avoid multiple alloc / init steps
@@ -77,5 +78,5 @@
     for (j = 0; j < Ntriangles; j++) {
       sky_triangle_to_image (&image[j], &tri[j]);
-      snprintf (image[j].name, 64, format, Nout);
+      snprintf (image[j].name, DVO_IMAGE_NAME_LEN, format, Nout);
       Nout++;
     }  
@@ -160,5 +161,5 @@
       if (!strcmp(rectangle[j].coords.ctype, "DROP")) continue;
       memcpy (&subset[Nsubset], &rectangle[j], sizeof(SkyRectangle));
-      snprintf (subset[Nsubset].name, 64, format, Nname);
+      snprintf (subset[Nsubset].name, DVO_IMAGE_NAME_LEN, format, Nname);
       Nname++;
       Nsubset++;
@@ -427,5 +428,5 @@
       memcpy (&output[N].coords, &input[0].coords, sizeof(Coords));
 
-      snprintf (output[N].name, 64, format, N);
+      snprintf (output[N].name, DVO_IMAGE_NAME_LEN, format, N);
       output[N].NX = NX;
       output[N].NY = NY;
Index: trunk/Ohana/src/getstar/src/ReadImageFiles.c
===================================================================
--- trunk/Ohana/src/getstar/src/ReadImageFiles.c	(revision 19250)
+++ trunk/Ohana/src/getstar/src/ReadImageFiles.c	(revision 19259)
@@ -1,3 +1,4 @@
 # include "dvoImageOverlaps.h"
+# define DVO_IMAGE_NAME_LEN 128
 
 Image *ReadImageFiles (char *filename, int *Nimages) {
@@ -63,5 +64,5 @@
       /* find image rootname */
       name = filebasename (file[i]);
-      snprintf (image[N].name, 64, name);
+      snprintf (image[N].name, DVO_IMAGE_NAME_LEN, name);
       free (name);
 
@@ -195,7 +196,7 @@
       // XXX use something to set the chip name? EXTNAME?
       if (!strcmp(exthead[i], "PHU") && (Nimage == 1)) {
-	snprintf (image[N].name, 64, "%s", name);
+	snprintf (image[N].name, DVO_IMAGE_NAME_LEN, "%s", name);
       } else {
-	snprintf (image[N].name, 64, "%s[%s]", name, exthead[i]);
+	snprintf (image[N].name, DVO_IMAGE_NAME_LEN, "%s[%s]", name, exthead[i]);
       }
 
