From d61fec2657c021f932006f8063f822e0def7ea9d Mon Sep 17 00:00:00 2001 From: arai Date: Tue, 16 Jul 2002 19:15:59 +0000 Subject: [PATCH] * src/lhext.c (extract_one): should use the `FILENAME_LENGTH' macro rather than 256 (provisionally fixed). git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@372 6a8cc165-1e22-0410-a132-eb4e3f353aba --- src/lhext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lhext.c b/src/lhext.c index 1bd21f5..4de281f 100644 --- a/src/lhext.c +++ b/src/lhext.c @@ -200,7 +200,7 @@ extract_one(afp, hdr) { FILE *fp; /* output file */ struct stat stbuf; - char name[257]; + char name[FILENAME_LENGTH]; int crc; int method; boolean save_quiet, save_verbose, up_flag; -- 2.11.0