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

This commit is contained in:
Godzil 2013-03-27 19:45:17 +01:00 committed by Manoël Trapier
parent 5f00cd2e53
commit c59e2f03ab
2 changed files with 2 additions and 2 deletions

View 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;

View 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 */