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.19:
details: https://anonhg.NetBSD.org/pkgsrc/rev/ec44ef316087
branches: trunk
changeset: 548189:ec44ef316087
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Oct 10 22:51:41 2008 +0000
description:
libfetch-2.19:
Fix a conditional in my quoting code to not be always true.
This makes ~ be quoted as %7e as intended.
diffstat:
net/libfetch/Makefile | 4 ++--
net/libfetch/files/fetch.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r edd4a05d505f -r ec44ef316087 net/libfetch/Makefile
--- a/net/libfetch/Makefile Fri Oct 10 22:09:28 2008 +0000
+++ b/net/libfetch/Makefile Fri Oct 10 22:51:41 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2008/10/08 15:11:21 joerg Exp $
+# $NetBSD: Makefile,v 1.22 2008/10/10 22:51:41 joerg Exp $
#
-DISTNAME= libfetch-2.18
+DISTNAME= libfetch-2.19
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
diff -r edd4a05d505f -r ec44ef316087 net/libfetch/files/fetch.c
--- a/net/libfetch/files/fetch.c Fri Oct 10 22:09:28 2008 +0000
+++ b/net/libfetch/files/fetch.c Fri Oct 10 22:51:41 2008 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fetch.c,v 1.13 2008/10/06 12:58:29 joerg Exp $ */
+/* $NetBSD: fetch.c,v 1.14 2008/10/10 22:51:41 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2008 Joerg Sonnenberger <joerg%NetBSD.org@localhost>
@@ -510,7 +510,7 @@
u->doc[i++] = '0' + ((unsigned char)*p) / 16;
else
u->doc[i++] = 'a' - 10 + ((unsigned char)*p) / 16;
- if ((unsigned char)*p % 16 < 16)
+ if ((unsigned char)*p % 16 < 10)
u->doc[i++] = '0' + ((unsigned char)*p) % 16;
else
u->doc[i++] = 'a' - 10 + ((unsigned char)*p) % 16;
Home |
Main Index |
Thread Index |
Old Index