pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libfetch/files Really mark fetchRestartCalls as vo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70556c9dc089
branches:  trunk
changeset: 554000:70556c9dc089
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 05 23:27:39 2009 +0000

description:
Really mark fetchRestartCalls as volatile.

diffstat:

 net/libfetch/files/fetch.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 675c3564f9f7 -r 70556c9dc089 net/libfetch/files/fetch.c
--- a/net/libfetch/files/fetch.c        Thu Feb 05 22:45:25 2009 +0000
+++ b/net/libfetch/files/fetch.c        Thu Feb 05 23:27:39 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fetch.c,v 1.16 2009/02/05 22:45:25 joerg Exp $ */
+/*     $NetBSD: fetch.c,v 1.17 2009/02/05 23:27:39 joerg Exp $ */
 /*-
  * Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
  * Copyright (c) 2008 Joerg Sonnenberger <joerg%NetBSD.org@localhost>
@@ -50,7 +50,7 @@
 int     fetchLastErrCode;
 char    fetchLastErrString[MAXERRSTRING];
 int     fetchTimeout;
-extern int      fetchRestartCalls = 1;
+extern volatile int     fetchRestartCalls = 1;
 int     fetchDebug;
 
 



Home | Main Index | Thread Index | Old Index