=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/ftp_var.h,v retrieving revision 1.36 retrieving revision 1.37 diff -c -r1.36 -r1.37 *** src/usr.bin/ftp/ftp_var.h 2014/10/31 13:48:21 1.36 --- src/usr.bin/ftp/ftp_var.h 2015/01/16 06:40:08 1.37 *************** *** 1,4 **** ! /* $OpenBSD: ftp_var.h,v 1.36 2014/10/31 13:48:21 jsing Exp $ */ /* $NetBSD: ftp_var.h,v 1.18 1997/08/18 10:20:25 lukem Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: ftp_var.h,v 1.37 2015/01/16 06:40:08 deraadt Exp $ */ /* $NetBSD: ftp_var.h,v 1.18 1997/08/18 10:20:25 lukem Exp $ */ /* *************** *** 65,71 **** * FTP global variables. */ ! #include #include #ifndef SMALL --- 65,72 ---- * FTP global variables. */ ! #include ! #include #include #ifndef SMALL *************** *** 84,90 **** #include "small.h" #define HASHBYTES 1024 ! #define FTPBUFLEN MAXPATHLEN + 200 #define STALLTIME 5 /* # of seconds of no xfer before "stalling" */ --- 85,91 ---- #include "small.h" #define HASHBYTES 1024 ! #define FTPBUFLEN PATH_MAX + 200 #define STALLTIME 5 /* # of seconds of no xfer before "stalling" */ *************** *** 138,145 **** int activefallback; /* fall back to active mode if passive fails */ char ntin[17]; /* input translation table */ char ntout[17]; /* output translation table */ ! char mapin[MAXPATHLEN]; /* input map template */ ! char mapout[MAXPATHLEN]; /* output map template */ char typename[32]; /* name of file transfer type */ int type; /* requested file transfer type */ int curtype; /* current file transfer type */ --- 139,146 ---- int activefallback; /* fall back to active mode if passive fails */ char ntin[17]; /* input translation table */ char ntout[17]; /* output translation table */ ! char mapin[PATH_MAX]; /* input map template */ ! char mapout[PATH_MAX]; /* output map template */ char typename[32]; /* name of file transfer type */ int type; /* requested file transfer type */ int curtype; /* current file transfer type */