summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-02-07 16:14:32 +0000
committerjoerg <joerg@pkgsrc.org>2008-02-07 16:14:32 +0000
commiteac8e6ef8ccf02aafcf80cdc031f133c2f3b6f91 (patch)
tree6d1e3c182fe01b22586254568238357d4120920a /net
parent7ad4bee3e9c2bfd520b52792dfe2804d21a992bf (diff)
downloadpkgsrc-eac8e6ef8ccf02aafcf80cdc031f133c2f3b6f91.tar.gz
MAXNAMELEN -> PATH_MAX to match fetch.h.
Diffstat (limited to 'net')
-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;
};