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.14:
details: https://anonhg.NetBSD.org/pkgsrc/rev/5ecbee3118f7
branches: trunk
changeset: 542218:5ecbee3118f7
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri May 09 00:39:06 2008 +0000
description:
libfetch-2.14:
Fix brain dead error in the quoting of unsafe characters.
diffstat:
net/libfetch/Makefile | 4 ++--
net/libfetch/files/common.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (37 lines):
diff -r 3d08c74174c6 -r 5ecbee3118f7 net/libfetch/Makefile
--- a/net/libfetch/Makefile Thu May 08 20:14:10 2008 +0000
+++ b/net/libfetch/Makefile Fri May 09 00:39:06 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2008/04/25 19:59:30 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2008/05/09 00:39:06 joerg Exp $
#
-DISTNAME= libfetch-2.13
+DISTNAME= libfetch-2.14
CATEGORIES= net
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 3d08c74174c6 -r 5ecbee3118f7 net/libfetch/files/common.c
--- a/net/libfetch/files/common.c Thu May 08 20:14:10 2008 +0000
+++ b/net/libfetch/files/common.c Fri May 09 00:39:06 2008 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: common.c,v 1.12 2008/04/25 16:25:25 joerg Exp $ */
+/* $NetBSD: common.c,v 1.13 2008/05/09 00:39:06 joerg Exp $ */
/*-
* Copyright (c) 1998-2004 Dag-Erling Coïdan Smørgrav
* Copyright (c) 2008 Joerg Sonnenberger <joerg%NetBSD.org@localhost>
@@ -681,12 +681,12 @@
!fetch_urlpath_safe(*name)) {
tmp->doc[i++] = '%';
c = (unsigned char)*name / 16;
- if (c < 160)
+ if (c < 10)
tmp->doc[i++] = '0' + c;
else
tmp->doc[i++] = 'a' - 10 + c;
c = (unsigned char)*name % 16;
- if (c < 16)
+ if (c < 10)
tmp->doc[i++] = '0' + c;
else
tmp->doc[i++] = 'a' - 10 + c;
Home |
Main Index |
Thread Index |
Old Index