summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/fetch.3
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-05-25 16:24:31 +0000
committerdes <des@FreeBSD.org>2000-05-25 16:24:31 +0000
commite5d7688f99046a4b3022e13701fd346f5328d6d4 (patch)
treeab95bd3a9549fc63c0570b6e47ddc36c1afcbb85 /lib/libfetch/fetch.3
parent8e62250edde9eea0607bde13a83225e481f0e1ca (diff)
downloadFreeBSD-src-e5d7688f99046a4b3022e13701fd346f5328d6d4.zip
FreeBSD-src-e5d7688f99046a4b3022e13701fd346f5328d6d4.tar.gz
Dump com_err, it's a stinking crock of shit.
Diffstat (limited to 'lib/libfetch/fetch.3')
-rw-r--r--lib/libfetch/fetch.322
1 files changed, 6 insertions, 16 deletions
diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3
index f63089c..7c0ca07 100644
--- a/lib/libfetch/fetch.3
+++ b/lib/libfetch/fetch.3
@@ -328,13 +328,8 @@ functions return 0 on success and -1 on failure.
All other functions return a stream pointer which may be used to
access the requested document, or NULL if an error occurred.
.Pp
-.Nm Libfetch
-uses the Common Error Library
-.Nm ( libcom_err )
-to report errors.
-The error code passed to
-.Fn com_err
-is one of:
+The following error codes are defined in
+.Aq Pa fetch.h :
.Bl -tag -width 18n
.It Bq Er FETCH_ABORT
Operation aborted
@@ -384,7 +379,6 @@ and
environment variables, respectively, as the address of a proxy server
to use for transferring files.
.Sh SEE ALSO
-.Xr com_err 3 ,
.Xr fetch 1 ,
.Xr ftpio 3 ,
.Xr ip 4 .
@@ -413,14 +407,6 @@ to use for transferring files.
.%B File Transfer Protocol
.%O RFC959
.Re
-.Sh NOTES
-The
-.Nm fetch
-library uses the Common Error library, and applications which link
-with
-.Nm libfetch
-must therefore also link with
-.Nm libcom_err .
.Sh HISTORY
The
.Nm fetch
@@ -493,4 +479,8 @@ The HTTP code needs a complete rewrite, or at least a serious cleanup.
.Pp
The man page is poorly written and produces badly formatted text.
.Pp
+The error reporting mechanism is unsatisfactory.
+.Pp
+Some parts of the code are not fully reentrant.
+.Pp
Tons of other stuff.
OpenPOWER on IntegriCloud