pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libfetch/files Add the missing parameter "const ch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc74cffd16a2
branches:  trunk
changeset: 347843:bc74cffd16a2
user:      abhinav <abhinav%pkgsrc.org@localhost>
date:      Tue May 31 18:02:36 2016 +0000

description:
Add the missing parameter "const char *pattern" to the fetchList* functions.

>From Julian Fagir in PR lib/45579

diffstat:

 net/libfetch/files/fetch.3 |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (75 lines):

diff -r d69abeba6972 -r bc74cffd16a2 net/libfetch/files/fetch.3
--- a/net/libfetch/files/fetch.3        Tue May 31 15:07:58 2016 +0000
+++ b/net/libfetch/files/fetch.3        Tue May 31 18:02:36 2016 +0000
@@ -25,7 +25,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\" $FreeBSD: fetch.3,v 1.64 2007/12/18 11:03:26 des Exp $
-.\" $NetBSD: fetch.3,v 1.16 2013/07/20 21:50:52 wiz Exp $
+.\" $NetBSD: fetch.3,v 1.17 2016/05/31 18:02:36 abhinav Exp $
 .\"
 .Dd January 22, 2010
 .Dt FETCH 3
@@ -91,7 +91,7 @@
 .Ft int
 .Fn fetchStatURL "const char *URL" "struct url_stat *us" "const char *flags"
 .Ft int
-.Fn fetchListURL "struct url_list *list" "const char *URL" "const char *flags"
+.Fn fetchListURL "struct url_list *list" "const char *URL" "const char *pattern" "const char *flags"
 .Ft fetchIO *
 .Fn fetchXGet "struct url *u" "struct url_stat *us" "const char *flags"
 .Ft fetchIO *
@@ -101,7 +101,7 @@
 .Ft int
 .Fn fetchStat "struct url *u" "struct url_stat *us" "const char *flags"
 .Ft int
-.Fn fetchList "struct url_list *list" "struct url *u" "const char *flags"
+.Fn fetchList "struct url_list *list" "struct url *u" "const char *pattern" "const char *flags"
 .Ft fetchIO *
 .Fn fetchXGetFile "struct url *u" "struct url_stat *us" "const char *flags"
 .Ft fetchIO *
@@ -111,7 +111,7 @@
 .Ft int
 .Fn fetchStatFile "struct url *u" "struct url_stat *us" "const char *flags"
 .Ft int
-.Fn fetchListFile "struct url_list *list" "struct url *u" "const char *flags"
+.Fn fetchListFile "struct url_list *list" "struct url *u" "const char *pattern" "const char *flags"
 .Ft fetchIO *
 .Fn fetchXGetHTTP "struct url *u" "struct url_stat *us" "const char *flags"
 .Ft fetchIO *
@@ -121,7 +121,7 @@
 .Ft int
 .Fn fetchStatHTTP "struct url *u" "struct url_stat *us" "const char *flags"
 .Ft int
-.Fn fetchListHTTP "struct url_list *list" "struct url *u" "const char *flags"
+.Fn fetchListHTTP "struct url_list *list" "struct url *u" "const char *pattern" "const char *flags"
 .Ft fetchIO *
 .Fn fetchXGetFTP "struct url *u" "struct url_stat *us" "const char *flags"
 .Ft fetchIO *
@@ -131,7 +131,7 @@
 .Ft int
 .Fn fetchStatFTP "struct url *u" "struct url_stat *us" "const char *flags"
 .Ft int
-.Fn fetchListFTP "struct url_list *list" "struct url *u" "const char *flags"
+.Fn fetchListFTP "struct url_list *list" "struct url *u" "const char *pattern" "const char *flags"
 .Ft void
 .Fn fetchInitURLList "struct url_list *ul"
 .Ft int
@@ -158,7 +158,7 @@
 detailed in RFC 1738.
 A regular expression which produces this syntax is:
 .Bd -literal -offset indent
-\*[Lt]scheme\*[Gt]:(//(\*[Lt]user\*[Gt](:\*[Lt]pwd\*[Gt])?@)?\*[Lt]host\*[Gt](:\*[Lt]port\*[Gt])?)?/(\*[Lt]document\*[Gt])?
+\*[Lt]scheme\*[Gt]:(//(\*[Lt]user\*[Gt](:\*[Lt]pwd\*[Gt])?@)?\*[Lt]host\*[Gt](:\*[Lt]port\*[Gt])?)?/(\*[Lt]doc\*[Gt])?
 .Ed
 .Pp
 If the URL does not seem to begin with a scheme name, it is assumed to be a local path.
@@ -169,7 +169,7 @@
 For instance, the file scheme only needs the
 .Aq scheme
 and
-.Aq document
+.Aq doc
 components.
 .Fn fetchParseURL
 quotes any unsafe character in the URL automatically.



Home | Main Index | Thread Index | Old Index