summaryrefslogtreecommitdiffstats
path: root/lib/libftpio/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-11-14 06:59:41 +0000
committerache <ache@FreeBSD.org>1996-11-14 06:59:41 +0000
commit22406d98dcada3e438c6d4b3b707192f7fb71969 (patch)
treefddc91814c20d646f9cb4eb065e29ea8c51cf709 /lib/libftpio/Makefile
parent922ccfd39574911c8000211ea9fcb454fcc70265 (diff)
downloadFreeBSD-src-22406d98dcada3e438c6d4b3b707192f7fb71969.zip
FreeBSD-src-22406d98dcada3e438c6d4b3b707192f7fb71969.tar.gz
For functions ftpGetURL, ftpPutURL, ftpLogin it was impossible to know
FTP error return code because 1) They return NULL, it means that ftpErrno can't be used because it takes file pointer 2) They don't have FILE-type argument as f.e. ftpGet/ftpPut to use it for ftpErrno instead. For that functions I add yet one int* type argument to store FTP error return code. It is impossible to add some global variable for that reason, because user can have multiply FTP connections opened at the same time. So, interface changed, major number bumped. Userland changes will follows. Minor bugfixes, the code: Forget to close file in few places, when failure occurse Forget to NULL cached host name, multiply free is possible
Diffstat (limited to 'lib/libftpio/Makefile')
-rw-r--r--lib/libftpio/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libftpio/Makefile b/lib/libftpio/Makefile
index bfb9de2..ce86c16 100644
--- a/lib/libftpio/Makefile
+++ b/lib/libftpio/Makefile
@@ -4,7 +4,7 @@ SRCS= ftpio.c ftperr.c
MAN3= ftpio.3
CLEANFILES+= ftperr.c
-SHLIB_MAJOR= 3
+SHLIB_MAJOR= 4
SHLIB_MINOR= 0
beforeinstall:
OpenPOWER on IntegriCloud