NetBSD-Bugs archive

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

lib/45579: libfetch fetch(3) manpage with wrong summaries



>Number:         45579
>Category:       lib
>Synopsis:       libfetch fetch(3) manpage with wrong summaries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 06 14:10:00 +0000 2011
>Originator:     Julian Fagir
>Release:        NetBSD 5.99.56
>Organization:
>Environment:
>Description:
The manpage of fetch(3) reports wrong function summaries for fetchList* 
functions. The pattern-parameter is not mentioned in the summary.
>How-To-Repeat:
Look at manpage and then at fetch.h, the differences of all the fetchList* 
functions.
>Fix:
Index: external/bsd/fetch/dist/libfetch/fetch.3
===================================================================
RCS file: /cvsroot/src/external/bsd/fetch/dist/libfetch/fetch.3,v
retrieving revision 1.1.1.8
diff -u -r1.1.1.8 fetch.3
--- external/bsd/fetch/dist/libfetch/fetch.3    30 Jan 2010 21:26:10 -0000      
1.1.1.8
+++ external/bsd/fetch/dist/libfetch/fetch.3    5 Nov 2011 08:44:32 -0000
@@ -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