445d297
--- netkit-ftp-0.17-dist/ftp/ftp_var.h	2012-10-29 10:02:44.455342130 +0100
445d297
+++ netkit-ftp-0.17-new/ftp/ftp_var.h	2012-10-29 10:02:31.292342775 +0100
445d297
@@ -54,6 +54,7 @@
445d297
 #define Extern extern
445d297
 #endif
a93372c
 
445d297
+#define LINELEN PATH_MAX+200
a93372c
 
a93372c
 /*
445d297
  * Options and other state info.
445d297
@@ -109,9 +110,9 @@ Extern int	ftp_port;	/* htons'd port num
a93372c
 
a93372c
 Extern sigjmp_buf toplevel;	/* non-local goto stuff for cmd scanner */
a93372c
 
a93372c
-Extern char	line[200];	/* input line buffer */
445d297
+Extern char	line[LINELEN];	/* input line buffer */
a93372c
 Extern char	*stringbase;	/* current scan point in line buffer */
a93372c
-Extern char	argbuf[200];	/* argument storage buffer */
445d297
+Extern char	argbuf[LINELEN];	/* argument storage buffer */
a93372c
 Extern char	*argbase;	/* current storage point in arg buffer */
a93372c
 Extern int	cpend;		/* flag: if != 0, then pending server reply */
a93372c
 Extern int	mflag;		/* flag: if != 0, then active multi command */
445d297
--- netkit-ftp-0.17/ftp/domacro.c	2012-10-29 10:02:44.394342130 +0100
445d297
+++ netkit-ftp-0.17-new/ftp/domacro.c	2012-10-29 10:02:31.292342775 +0100
445d297
@@ -53,7 +53,7 @@ domacro(int argc, char *argv[])
445d297
 	register int i, j;
445d297
 	register char *cp1, *cp2;
445d297
 	int count = 2, loopflg = 0;
445d297
-	char line2[200];
445d297
+	char line2[LINELEN];
445d297
 	struct cmd *c;
445d297
 
445d297
 	if (argc < 2 && !another(&argc, &argv, "macro name")) {