Module Name: src
Committed By: christos
Date: Mon Jan 12 14:17:08 UTC 2015
Modified Files:
src/usr.bin/ftp: ftp_var.h
Log Message:
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.83 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.83
--- src/usr.bin/ftp/ftp_var.h:1.82 Fri Dec 21 13:07:36 2012
+++ src/usr.bin/ftp/ftp_var.h Mon Jan 12 09:17:08 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.83 2015/01/12 14:17:08 christos 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 */