aboutsummaryrefslogtreecommitdiff
path: root/lib/libftpio
Commit message (Collapse)AuthorAgeFilesLines
* Modernize my email address.Poul-Henning Kamp2002-03-252-2/+2
| | | | Notes: svn path=/head/; revision=93149
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-1/+1
| | | | Notes: svn path=/head/; revision=84306
* Add __FBSDID()s to libftpioMatthew Dillon2001-09-301-3/+3
| | | | Notes: svn path=/head/; revision=84204
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: normalize .Nd.Ruslan Ermilov2001-04-181-1/+1
| | | | Notes: svn path=/head/; revision=75670
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74870
* Fixed wrong return type for ftpLoginAf() in synopsis.Bruce Evans2001-02-051-1/+1
| | | | Notes: svn path=/head/; revision=72063
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-11/+11
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-2/+1
| | | | Notes: svn path=/head/; revision=70481
* Fix two bugs:Archie Cobbs2000-08-172-30/+12
| | | | | | | - The ftpPassive() Notes: svn path=/head/; revision=64799
* Separate parsing code of 229 replies from the code for 227 and 228.Hajimu UMEMOTO2000-07-101-6/+13
| | | | | | | Don't assume 227 and 228 replies enclose remote address with parentheses. Notes: svn path=/head/; revision=62905
* Reduce shlib major that is bumped by my mistake.Hajimu UMEMOTO2000-07-061-1/+1
| | | | | | | We don't need bumping it in this time. Notes: svn path=/head/; revision=62686
* IPv6 support.Hajimu UMEMOTO2000-07-055-78/+301
| | | | | | | | | This is required for forthcoming IPv6 ready installer. Obtained from: KAME Notes: svn path=/head/; revision=62649
* Put the FTP_PASSIVE_MODE issue to rest once and for all.Bill Fumerola2000-05-051-1/+1
| | | | | | | | Reviewed by: des Obtained from: FreeBSD's src/usr.bin/ftp/main.c Notes: svn path=/head/; revision=60051
* Make FTP_PASSIVE_MODE check more specific.Jordan K. Hubbard2000-04-231-2/+3
| | | | | | | Suggested by: Eric D. Futch <efutch@nyct.net> Notes: svn path=/head/; revision=59579
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-021-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57686
* Replace beforeinstall target with new variables used by .mk system.Rodney W. Grimes2000-01-141-4/+1
| | | | | | | Reviewed by: marcel, and make world Notes: svn path=/head/; revision=55955
* Fix style bugs and orderingMarcel Moolenaar1999-10-031-7/+5
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=51903
* sigset_t change (part 5 of 5)Marcel Moolenaar1999-09-291-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround. Notes: svn path=/head/; revision=51794
* Explicitly use sigemptyset to clear a sigset_t. ExplicitMarcel Moolenaar1999-09-281-2/+7
| | | | | | | | | initialization of sa_flags added so that the 'struct sigaction' can be declared local in both functions that use the global (static) declaration. Remove the global declaration. Notes: svn path=/head/; revision=51760
* Correct spelling : ascii -> ASCIIAlexey Zelkin1999-09-201-1/+1
| | | | | | | | | PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp Notes: svn path=/head/; revision=51457
* $Id$ -> $FreeBSD$Peter Wemm1999-08-284-4/+4
| | | | Notes: svn path=/head/; revision=50476
* Various man page cleanup:Mike Pritchard1999-08-151-2/+2
| | | | | | | | | | | | | - Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlines in mdoc(7) - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexy M. Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=49828
* Cause PORT commands to use the high IP port range. This makes fetchNick Sayer1999-03-301-2/+11
| | | | | | | | | | (and its friends) more firewall friendly. PR: 10580 Submitted by: nsayer Notes: svn path=/head/; revision=45163
* Correctly figure out that the remove cannot do passive mode.Poul-Henning Kamp1998-04-111-1/+3
| | | | | | | | | PR: 6259 Reviewed & slightly modified by: phk Submitted by: Archie Cobbs <archie@whistle.com> Notes: svn path=/head/; revision=35126
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.AqPhilippe Charnier1998-03-191-2/+5
| | | | Notes: svn path=/head/; revision=34669
* environment variables missing from ftpio(3) man pageJordan K. Hubbard1998-02-101-1/+12
| | | | | | | | PR: 5691 Submitted by: archie@whistle.com Notes: svn path=/head/; revision=33212
* Change errno usage as a field in a structure and as an argument to aJohn Birrell1997-12-202-28/+28
| | | | | | | | function from 'errno' to 'error' so that there is no conflict with the thread-safe definition of errno in errno.h. Notes: svn path=/head/; revision=31892
* Teach ftpErrString to format UNIX errnos, since at least ftpLogin()Bill Fenner1997-10-021-1/+4
| | | | | | | | | | | | | | can return UNIX errnos. When UNIX errnos catch up with FTP status codes (e.g. at 100) a new way will have to be found to tell which is which. This allows fetch to print errors like fetch: ftp.fu-berlin.de: No route to host instead of fetch: ftp.fu-berlin.de: Unknown error Notes: svn path=/head/; revision=30065
* Correct an ancient bogon which involved trying to read() from aJordan K. Hubbard1997-10-011-10/+8
| | | | | | | | | nuked file descriptor. This is probably why sysinstall's ftp xfer occasionally SEGV'd if you left things alone for a long time and the timeout code got called. Whoops! Notes: svn path=/head/; revision=30030
* Many places in the code NULL is used in integer context, wherePoul-Henning Kamp1997-09-181-2/+2
| | | | | | | | | | | | plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no> Notes: svn path=/head/; revision=29574
* Make this C++ safe.Jordan K. Hubbard1997-05-051-1/+5
| | | | | | | Submitted by: Nadav Eiron <nadav@barcode.co.il> Notes: svn path=/head/; revision=25487
* Fixed #include and/or prototype bugs in synopsis.Bruce Evans1997-04-191-3/+3
| | | | Notes: svn path=/head/; revision=25028
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-224-4/+4
| | | | Notes: svn path=/head/; revision=22993
* Only send QUIT if the last operation didn't time out (otherwise you'reJordan K. Hubbard1997-01-211-2/+5
| | | | | | | just going to hang forever on the close). Notes: svn path=/head/; revision=21930
* Yow! Is my face red... I just noticed (duh) that signal() always installsJordan K. Hubbard1997-01-171-9/+41
| | | | | | | | | | | | | the handler with SA_RESTART set, so the system calls I wanted to have the timeout effect will just restart instead (which is NOT what I wanted). Sheepishly use sigaction() like a good boy and make timeouts actually do something. Also pass errors out more effectively so that fetch(1) actually understands what went wrong. Notes: svn path=/head/; revision=21797
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-144-4/+4
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Sanitize and extend SIGALRM timeout handling.Jordan K. Hubbard1996-12-171-34/+59
| | | | Notes: svn path=/head/; revision=20602
* Oops, back out previous optimization, don't work as I expectAndrey A. Chernov1996-11-141-4/+12
| | | | | | | (lack of sleep) Notes: svn path=/head/; revision=19739
* Since ftpPutURL not use hostname cache, optimize it by always closingAndrey A. Chernov1996-11-141-13/+5
| | | | | | | | connection at the end of operation, so it not leave opened file without a reason. Notes: svn path=/head/; revision=19738
* For functions ftpGetURL, ftpPutURL, ftpLogin it was impossible to knowAndrey A. Chernov1996-11-144-20/+44
| | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=19731
* Oops, forget the fact that several ftp connections can be activeAndrey A. Chernov1996-11-142-10/+6
| | | | | | | | | at the same time, so add new con_state to avoid QUIT recursion Still should go to 2.2 Notes: svn path=/head/; revision=19728
* 1) Don't allow endless recursion in ftp_close when it attempts toAndrey A. Chernov1996-11-141-2/+8
| | | | | | | | | | | send QUIT to closed connection. 2) Preserve login failure code, don't overwrite it with ftp_close code Should go to 2.2 Notes: svn path=/head/; revision=19727
* Send PASV instead of PASSIVE.Jordan K. Hubbard1996-10-101-2/+2
| | | | | | | Submitted-By: Archie Cobbs <archie@whistle.com> Notes: svn path=/head/; revision=18851
* delete doubled words, e.g.: "the the" -> "the"Wolfram Schneider1996-10-051-1/+2
| | | | Notes: svn path=/head/; revision=18718
* Make libftpio 64-bit clean.Peter Wemm1996-09-193-25/+36
| | | | | | | | | | Major version bumped (by me) since the ftpGet() public interface has changed (an "int *" becomes and "off_t *") Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>, PR#1640 Notes: svn path=/head/; revision=18394
* Intelligently cache previous connection to host if we can stillJordan K. Hubbard1996-08-311-10/+32
| | | | | | | | | | use it. Correct a typo bogon that had REST mistyped as RETR. No wonder fetch's restart command didn't work! :-( Notes: svn path=/head/; revision=17978
* cmp -s || install -c ==> install -CPeter Wemm1996-08-301-2/+2
| | | | Notes: svn path=/head/; revision=17930
* D'oh! verbose output should go to stderr.Jordan K. Hubbard1996-08-241-2/+2
| | | | Notes: svn path=/head/; revision=17810
* Implement a change suggested by Archie Cobbs - the seekto argument shouldJordan K. Hubbard1996-08-212-3/+4
| | | | | | | | be zero'd only if the operation *fails*, indicating that the file starting offset is effectively zero. This makes more sense. Notes: svn path=/head/; revision=17733