From c59e2f03abc554781c9096ec76d3c20ef68ca235 Mon Sep 17 00:00:00 2001 From: Godzil Date: Wed, 27 Mar 2013 19:45:17 +0100 Subject: [PATCH] Augment the "template" buffer size, 50byte is too short for a path. --- mach/proto/as/comm1.h | 2 +- util/ack/data.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mach/proto/as/comm1.h b/mach/proto/as/comm1.h index 0c0fd6772..26c7911a9 100644 --- a/mach/proto/as/comm1.h +++ b/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; diff --git a/util/ack/data.h b/util/ack/data.h index d6ae07855..21b1db31d 100644 --- a/util/ack/data.h +++ b/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 */ -- 2.34.1