Module Name:    src
Committed By:   snj
Date:           Tue Apr 14 05:10:38 UTC 2015

Modified Files:
        src/usr.bin/ftp [netbsd-7]: ftp_var.h

Log Message:
Pull up following revision(s) (requested by christos in ticket #685):
        usr.bin/ftp/ftp_var.h: revision 1.83
Increase the buffer limit; otherwise files in:
    http://www.taxdetective.ca/Samples/sampledatafiles.html
fail.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.82.8.1 src/usr.bin/ftp/ftp_var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/ftp/ftp_var.h
diff -u src/usr.bin/ftp/ftp_var.h:1.82 src/usr.bin/ftp/ftp_var.h:1.82.8.1
--- src/usr.bin/ftp/ftp_var.h:1.82	Fri Dec 21 18:07:36 2012
+++ src/usr.bin/ftp/ftp_var.h	Tue Apr 14 05:10:38 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: ftp_var.h,v 1.82 2012/12/21 18:07:36 christos Exp $	*/
+/*	$NetBSD: ftp_var.h,v 1.82.8.1 2015/04/14 05:10:38 snj Exp $	*/
 
 /*-
  * Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
@@ -169,7 +169,7 @@ enum {
 /*
  * Global defines
  */
-#define	FTPBUFLEN	MAXPATHLEN + 200
+#define	FTPBUFLEN	(4 * MAXPATHLEN)
 #define	MAX_IN_PORT_T	0xffffU
 
 #define	HASHBYTES	1024	/* default mark for `hash' command */

Reply via email to