Source-Changes-HG archive

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

[src/netbsd-1-5]: src/libexec/tftpd Pull up revision 1.19 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/34b0bd1b7dba
branches:  netbsd-1-5
changeset: 490679:34b0bd1b7dba
user:      he <he%NetBSD.org@localhost>
date:      Mon Feb 26 16:59:15 2001 +0000

description:
Pull up revision 1.19 (requested by he):
  Use unsigned variables for block number, thus allowing transfer
  of up to 32M files instead of 16M.

diffstat:

 libexec/tftpd/tftpd.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r a7297be5bdb8 -r 34b0bd1b7dba libexec/tftpd/tftpd.c
--- a/libexec/tftpd/tftpd.c     Mon Feb 26 16:58:54 2001 +0000
+++ b/libexec/tftpd/tftpd.c     Mon Feb 26 16:59:15 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tftpd.c,v 1.18.8.2 2001/02/03 21:09:17 he Exp $        */
+/*     $NetBSD: tftpd.c,v 1.18.8.3 2001/02/26 16:59:15 he Exp $        */
 
 /*
  * Copyright (c) 1983, 1993
@@ -40,7 +40,7 @@
 #if 0
 static char sccsid[] = "@(#)tftpd.c    8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: tftpd.c,v 1.18.8.2 2001/02/03 21:09:17 he Exp $");
+__RCSID("$NetBSD: tftpd.c,v 1.18.8.3 2001/02/26 16:59:15 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -592,7 +592,7 @@
        struct tftphdr *dp;
        struct tftphdr *ap;    /* ack packet */
        int size, n;
-       volatile int block;
+       volatile unsigned int block;
 
        signal(SIGALRM, timer);
        dp = r_init();
@@ -662,7 +662,7 @@
        struct tftphdr *dp;
        struct tftphdr *ap;    /* ack buffer */
        int n, size;
-       volatile int block;
+       volatile unsigned int block;
 
        signal(SIGALRM, timer);
        dp = w_init();



Home | Main Index | Thread Index | Old Index