Browse Source

Augment the "template" buffer size, 50byte is too short for a path.

Godzil 11 years ago
parent
commit
c59e2f03ab
2 changed files with 2 additions and 2 deletions
  1. 1 1
      mach/proto/as/comm1.h
  2. 1 1
      util/ack/data.h

+ 1 - 1
mach/proto/as/comm1.h

@@ -53,7 +53,7 @@ extern short	bflag;		/* -b option (no optimizations) */
 #endif
 
 extern char	*aoutpath INIT("a.out");
-extern char	temppath[50];
+extern char	temppath[512];
 
 extern FILE	*input;
 extern FILE	*tempfile;

+ 1 - 1
util/ack/data.h

@@ -38,7 +38,7 @@ EXTERN  int             n_error;        /* Number of errors encountered */
 EXTERN  char            *progname;      /* The program call name */
 
 EXTERN  char            *outfile;       /* The result file e.g. a.out */
-EXTERN  char            template[20];   /* The template for temporary file
+EXTERN  char            template[512];   /* The template for temporary file
 						names */
 
 EXTERN  trf             *linker;	/* Pointer to the Loader/Linker */