summaryrefslogtreecommitdiff
path: root/net/libfetch
diff options
context:
space:
mode:
authorjoerg <joerg>2008-02-07 16:14:32 +0000
committerjoerg <joerg>2008-02-07 16:14:32 +0000
commit77ac25c9ee09179fc431b0b3131b2d1edf0e7f8b (patch)
tree6d1e3c182fe01b22586254568238357d4120920a /net/libfetch
parent14a55bbff7ca2686a57571939ed85e5191c38bd8 (diff)
downloadpkgsrc-77ac25c9ee09179fc431b0b3131b2d1edf0e7f8b.tar.gz
MAXNAMELEN -> PATH_MAX to match fetch.h.
Diffstat (limited to 'net/libfetch')
-rw-r--r--net/libfetch/files/fetch.34
-rw-r--r--net/libfetch/files/fetch.cat32
2 files changed, 3 insertions, 3 deletions
diff --git a/net/libfetch/files/fetch.3 b/net/libfetch/files/fetch.3
index 17f467e6dcd..cae66f9e70a 100644
--- a/net/libfetch/files/fetch.3
+++ b/net/libfetch/files/fetch.3
@@ -24,7 +24,7 @@
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD: fetch.3,v 1.64 2007/12/18 11:03:26 des Exp $
-.\" $NetBSD: fetch.3,v 1.1.1.1 2008/02/07 01:48:22 joerg Exp $
+.\" $NetBSD: fetch.3,v 1.2 2008/02/07 16:14:32 joerg Exp $
.\"
.Dd December 18, 2007
.Dt FETCH 3
@@ -237,7 +237,7 @@ structure is defined as follows in
.In fetch.h :
.Bd -literal
struct url_ent {
- char name[MAXPATHLEN];
+ char name[PATH_MAX];
struct url_stat stat;
};
.Ed
diff --git a/net/libfetch/files/fetch.cat3 b/net/libfetch/files/fetch.cat3
index 2e069ffa202..a0128855d52 100644
--- a/net/libfetch/files/fetch.cat3
+++ b/net/libfetch/files/fetch.cat3
@@ -175,7 +175,7 @@ DDEESSCCRRIIPPTTIIOONN
<_f_e_t_c_h_._h>:
struct url_ent {
- char name[MAXPATHLEN];
+ char name[PATH_MAX];
struct url_stat stat;
};