pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/libfetch libfetch-2.22:
details: https://anonhg.NetBSD.org/pkgsrc/rev/675c3564f9f7
branches: trunk
changeset: 553999:675c3564f9f7
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Feb 05 22:45:25 2009 +0000
description:
libfetch-2.22:
Allow overriding fetchRestartCalls from signal handlers by making it
volatile.
diffstat:
net/libfetch/Makefile | 4 ++--
net/libfetch/files/fetch.c | 4 ++--
net/libfetch/files/fetch.h | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diffs (49 lines):
diff -r 12a3463eaa15 -r 675c3564f9f7 net/libfetch/Makefile
--- a/net/libfetch/Makefile Thu Feb 05 22:32:57 2009 +0000
+++ b/net/libfetch/Makefile Thu Feb 05 22:45:25 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2009/02/05 16:59:45 joerg Exp $
+# $NetBSD: Makefile,v 1.25 2009/02/05 22:45:25 joerg Exp $
#
-DISTNAME= libfetch-2.21
+DISTNAME= libfetch-2.22
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 12a3463eaa15 -r 675c3564f9f7 net/libfetch/files/fetch.c
--- a/net/libfetch/files/fetch.c Thu Feb 05 22:32:57 2009 +0000
+++ b/net/libfetch/files/fetch.c Thu Feb 05 22:45:25 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fetch.c,v 1.15 2008/11/04 16:14:24 joerg Exp $ */
+/* $NetBSD: fetch.c,v 1.16 2009/02/05 22:45:25 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;
-int fetchRestartCalls = 1;
+extern int fetchRestartCalls = 1;
int fetchDebug;
diff -r 12a3463eaa15 -r 675c3564f9f7 net/libfetch/files/fetch.h
--- a/net/libfetch/files/fetch.h Thu Feb 05 22:32:57 2009 +0000
+++ b/net/libfetch/files/fetch.h Thu Feb 05 22:45:25 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fetch.h,v 1.13 2009/02/05 16:59:45 joerg Exp $ */
+/* $NetBSD: fetch.h,v 1.14 2009/02/05 22:45:25 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* All rights reserved.
@@ -170,7 +170,7 @@
extern int fetchTimeout;
/* Restart interrupted syscalls */
-extern int fetchRestartCalls;
+extern volatile int fetchRestartCalls;
/* Extra verbosity */
extern int fetchDebug;
Home |
Main Index |
Thread Index |
Old Index