pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libfetch/files MAXNAMELEN -> PATH_MAX to match fet...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9086d0bf8122
branches:  trunk
changeset: 538391:9086d0bf8122
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Feb 07 16:14:32 2008 +0000

description:
MAXNAMELEN -> PATH_MAX to match fetch.h.

diffstat:

 net/libfetch/files/fetch.3    |  4 ++--
 net/libfetch/files/fetch.cat3 |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r e17bb6c7d8b7 -r 9086d0bf8122 net/libfetch/files/fetch.3
--- a/net/libfetch/files/fetch.3        Thu Feb 07 13:41:26 2008 +0000
+++ b/net/libfetch/files/fetch.3        Thu Feb 07 16:14:32 2008 +0000
@@ -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 @@
 .In fetch.h :
 .Bd -literal
 struct url_ent {
-    char         name[MAXPATHLEN];
+    char         name[PATH_MAX];
     struct url_stat stat;
 };
 .Ed
diff -r e17bb6c7d8b7 -r 9086d0bf8122 net/libfetch/files/fetch.cat3
--- a/net/libfetch/files/fetch.cat3     Thu Feb 07 13:41:26 2008 +0000
+++ b/net/libfetch/files/fetch.cat3     Thu Feb 07 16:14:32 2008 +0000
@@ -175,7 +175,7 @@
      <_f_e_t_c_h_._h>:
 
      struct url_ent {
-         char         name[MAXPATHLEN];
+         char         name[PATH_MAX];
          struct url_stat stat;
      };
 



Home | Main Index | Thread Index | Old Index