Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/usr.bin/ftp Pull up following revision(s) (requested by c...



details:   https://anonhg.NetBSD.org/src/rev/d3b2743298e8
branches:  netbsd-7
changeset: 799198:d3b2743298e8
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Apr 14 05:10:38 2015 +0000

description:
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.

diffstat:

 usr.bin/ftp/ftp_var.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2d400bad7b98 -r d3b2743298e8 usr.bin/ftp/ftp_var.h
--- a/usr.bin/ftp/ftp_var.h     Tue Apr 14 05:08:09 2015 +0000
+++ b/usr.bin/ftp/ftp_var.h     Tue Apr 14 05:10:38 2015 +0000
@@ -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 @@
 /*
  * Global defines
  */
-#define        FTPBUFLEN       MAXPATHLEN + 200
+#define        FTPBUFLEN       (4 * MAXPATHLEN)
 #define        MAX_IN_PORT_T   0xffffU
 
 #define        HASHBYTES       1024    /* default mark for `hash' command */



Home | Main Index | Thread Index | Old Index