source: npl/system/netkit-ftp/patches/28-netkit-ftp-0.17-linelen.patch @ d849d83

gcc484ntopperl-5.22
Last change on this file since d849d83 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.2 KB
  • ftp/ftp_var.h

    old new  
    5454#define Extern extern
    5555#endif
    5656
     57#define LINELEN PATH_MAX+200
    5758
    5859/*
    5960 * Options and other state info.
    Extern int ftp_port; /* htons'd port num 
    109110
    110111Extern sigjmp_buf toplevel;     /* non-local goto stuff for cmd scanner */
    111112
    112 Extern char     line[200];      /* input line buffer */
     113Extern char     line[LINELEN];  /* input line buffer */
    113114Extern char     *stringbase;    /* current scan point in line buffer */
    114 Extern char     argbuf[200];    /* argument storage buffer */
     115Extern char     argbuf[LINELEN];        /* argument storage buffer */
    115116Extern char     *argbase;       /* current storage point in arg buffer */
    116117Extern int      cpend;          /* flag: if != 0, then pending server reply */
    117118Extern int      mflag;          /* flag: if != 0, then active multi command */
  • ftp/domacro.c

    old new domacro(int argc, char *argv[]) 
    5353        register int i, j;
    5454        register char *cp1, *cp2;
    5555        int count = 2, loopflg = 0;
    56         char line2[200];
     56        char line2[LINELEN];
    5757        struct cmd *c;
    5858
    5959        if (argc < 2 && !another(&argc, &argv, "macro name")) {
Note: See TracBrowser for help on using the repository browser.