Date: Wed, 13 Nov 1996 22:59:43 -0800 (PST) From: "Andrey A. Chernov" <ache> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libftpio Makefile ftpio.3 ftpio.c ftpio.h Message-ID: <199611140659.WAA18911@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 96/11/13 22:59:42 Modified: lib/libftpio Makefile ftpio.3 ftpio.c ftpio.h Log: 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 Revision Changes Path 1.6 +1 -1 src/lib/libftpio/Makefile 1.12 +6 -6 src/lib/libftpio/ftpio.3 1.18 +33 -9 src/lib/libftpio/ftpio.c 1.10 +4 -4 src/lib/libftpio/ftpio.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611140659.WAA18911>