Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/ftp sprinkle more volatile (distribution build with ...
details: https://anonhg.NetBSD.org/src/rev/6d3b46810034
branches: trunk
changeset: 344273:6d3b46810034
user: christos <christos%NetBSD.org@localhost>
date: Fri Mar 18 18:42:25 2016 +0000
description:
sprinkle more volatile (distribution build with gcc-5.3)
diffstat:
usr.bin/ftp/fetch.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 51de32d11dd8 -r 6d3b46810034 usr.bin/ftp/fetch.c
--- a/usr.bin/ftp/fetch.c Fri Mar 18 18:24:25 2016 +0000
+++ b/usr.bin/ftp/fetch.c Fri Mar 18 18:42:25 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fetch.c,v 1.221 2016/02/05 03:41:05 nonaka Exp $ */
+/* $NetBSD: fetch.c,v 1.222 2016/03/18 18:42:25 christos Exp $ */
/*-
* Copyright (c) 1997-2015 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: fetch.c,v 1.221 2016/02/05 03:41:05 nonaka Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.222 2016/03/18 18:42:25 christos Exp $");
#endif /* not lint */
/*
@@ -954,7 +954,8 @@
static int
negotiate_connection(FETCH *fin, const char *url, const char *penv,
struct posinfo *pi, time_t *mtime, struct authinfo *wauth,
- struct authinfo *pauth, int *rval, int *ischunked, char **auth)
+ struct authinfo *pauth, volatile int *rval, volatile int *ischunked,
+ char **auth)
{
int len, hcode, rv;
char buf[FTPBUFLEN], *ep;
@@ -1260,7 +1261,7 @@
int volatile s;
struct stat sb;
int volatile isproxy;
- int rval, ischunked;
+ int volatile rval, ischunked;
size_t flen;
static size_t bufsize;
static char *xferbuf;
Home |
Main Index |
Thread Index |
Old Index