source:
npl/system/netkit-ftp/patches/28-netkit-ftp-0.17-linelen.patch
@
7c410f9
Last change on this file since 7c410f9 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 1.2 KB |
-
ftp/ftp_var.h
old new 54 54 #define Extern extern 55 55 #endif 56 56 57 #define LINELEN PATH_MAX+200 57 58 58 59 /* 59 60 * Options and other state info. … … Extern int ftp_port; /* htons'd port num 109 110 110 111 Extern sigjmp_buf toplevel; /* non-local goto stuff for cmd scanner */ 111 112 112 Extern char line[ 200]; /* input line buffer */113 Extern char line[LINELEN]; /* input line buffer */ 113 114 Extern char *stringbase; /* current scan point in line buffer */ 114 Extern char argbuf[ 200]; /* argument storage buffer */115 Extern char argbuf[LINELEN]; /* argument storage buffer */ 115 116 Extern char *argbase; /* current storage point in arg buffer */ 116 117 Extern int cpend; /* flag: if != 0, then pending server reply */ 117 118 Extern int mflag; /* flag: if != 0, then active multi command */ -
ftp/domacro.c
old new domacro(int argc, char *argv[]) 53 53 register int i, j; 54 54 register char *cp1, *cp2; 55 55 int count = 2, loopflg = 0; 56 char line2[ 200];56 char line2[LINELEN]; 57 57 struct cmd *c; 58 58 59 59 if (argc < 2 && !another(&argc, &argv, "macro name")) {
Note: See TracBrowser
for help on using the repository browser.