[gs-cvs] rev 8635 - trunk/gs/src

giles at ghostscript.com giles at ghostscript.com
Thu Apr 10 16:43:36 PDT 2008


Author: giles
Date: 2008-04-10 16:43:36 -0700 (Thu, 10 Apr 2008)
New Revision: 8635

Modified:
   trunk/gs/src/echogs.c
Log:
Increase the static command and path buffers in echogs to deal with
longer build paths. Bug 689788.


Modified: trunk/gs/src/echogs.c
===================================================================
--- trunk/gs/src/echogs.c	2008-04-10 22:08:20 UTC (rev 8634)
+++ trunk/gs/src/echogs.c	2008-04-10 23:43:36 UTC (rev 8635)
@@ -91,14 +91,14 @@
     FILE *in = 0;
     const char *extn = "";
     char fmode[4];
-#define FNSIZE 100
+#define FNSIZE 1000
     char *fnparam;
     char fname[FNSIZE];
     int newline = 1;
     int interact = 0;
     int (*eputc)(int, FILE *) = fputc;
     int (*eputs)(const char *, FILE *) = fputs;
-#define LINESIZE 1000
+#define LINESIZE 1000+FNSIZE
     char line[LINESIZE];
     char sw = 0, sp = 0, hexx = 0;
     char **argp = argv + 1;



More information about the gs-cvs mailing list