Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/ftp more volatile for m68k



details:   https://anonhg.NetBSD.org/src/rev/fbf51aecf8d3
branches:  trunk
changeset: 791162:fbf51aecf8d3
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 07 02:06:51 2013 +0000

description:
more volatile for m68k

diffstat:

 usr.bin/ftp/fetch.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r dccfb775f859 -r fbf51aecf8d3 usr.bin/ftp/fetch.c
--- a/usr.bin/ftp/fetch.c       Thu Nov 07 02:01:42 2013 +0000
+++ b/usr.bin/ftp/fetch.c       Thu Nov 07 02:06:51 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fetch.c,v 1.204 2013/11/03 14:45:50 christos Exp $     */
+/*     $NetBSD: fetch.c,v 1.205 2013/11/07 02:06:51 christos Exp $     */
 
 /*-
  * Copyright (c) 1997-2009 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: fetch.c,v 1.204 2013/11/03 14:45:50 christos Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.205 2013/11/07 02:06:51 christos Exp $");
 #endif /* not lint */
 
 /*
@@ -1263,7 +1263,7 @@
                                        /* transfer file or chunk */
                while (1) {
                        struct timeval then, now, td;
-                       off_t bufrem;
+                       volatile off_t bufrem;
 
                        if (rate_get)
                                (void)gettimeofday(&then, NULL);



Home | Main Index | Thread Index | Old Index