Module Name:    src
Committed By:   christos
Date:           Thu Nov  7 02:06:52 UTC 2013

Modified Files:
        src/usr.bin/ftp: fetch.c

Log Message:
more volatile for m68k


To generate a diff of this commit:
cvs rdiff -u -r1.204 -r1.205 src/usr.bin/ftp/fetch.c

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/fetch.c
diff -u src/usr.bin/ftp/fetch.c:1.204 src/usr.bin/ftp/fetch.c:1.205
--- src/usr.bin/ftp/fetch.c:1.204	Sun Nov  3 09:45:50 2013
+++ src/usr.bin/ftp/fetch.c	Wed Nov  6 21:06:51 2013
@@ -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 @@ fetch_url(const char *url, const char *p
 					/* 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);

Reply via email to