Augment the "template" buffer size, 50byte is too short for a path.
authorGodzil <godzil@godzil.net>
Wed, 27 Mar 2013 18:45:17 +0000 (19:45 +0100)
committerManoël Trapier <godzil@MacBook-Pro.home>
Wed, 24 Jun 2015 22:41:49 +0000 (23:41 +0100)
mach/proto/as/comm1.h
util/ack/data.h

index 0c0fd67..26c7911 100644 (file)
@@ -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;
index d6ae078..21b1db3 100644 (file)
@@ -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 */