summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/util.c
AgeCommit message (Expand)Author
2000-07-18add support for FEAT and OPTS commands with `features' and `opts'.lukem
2000-06-15* migrate the SYST parsing from setpeer() into a separate remotesyst().lukem
2000-05-01convert to ANSI KNFlukem
2000-05-01* Add support for `fget localfile', which reads a list of filenames tolukem
2000-04-24allow IPv6 extended numeric address in host part.itojun
2000-04-13s/strtoq/strtoll/ (the latter is standardised)lukem
2000-01-31define private type `sigfunc' aslukem
2000-01-26roll back to using sscanf() instead of strptime() to parse `yyyymmddhhmmss'lukem
2000-01-26put spaces between the % specifiers in the strptime format stringlukem
2000-01-25be harsher about workaroundlukem
2000-01-25work around lame ftpd's that don't return a correct post-Y2K date inlukem
1999-12-03fix memory leak in fetch_url (no freeaddrinfo was there).itojun
1999-11-28* implement xsl_init() and xsl_add(); error checking forms of sl_{init,add}()lukem
1999-11-27in cleanuppeer(), reset username to NULL after free()ing it.lukem
1999-11-26* complete_remote(): use remglob("", ...) instead of remglob(".", ...),lukem
1999-11-12- implement `set rprompt'; right side version of `set prompt'. depends onlukem
1999-11-11- implement updateremotepwd(); update the global variable `remotepwd'lukem
1999-11-09prevent minor memory leak (unnecessary strdup)lukem
1999-10-24new features:lukem
1999-10-13* fix up confirm() (broke `a' and `p' in last commit)lukem
1999-10-12a few user interface and cosmetic tweaks:lukem
1999-10-11* in the SIGINFO/SIGQUIT handler, print a newline before displayinglukem
1999-10-09* use sigsetjmp()/siglongjump() instead of setjmp()/longjmp(); the latterlukem
1999-10-07Minor nit - don't append a '/' to tmpdir if it already ends in a '/'.simonb
1999-10-05* factor out SIGINFO setting into a handler that is always active (but onlylukem
1999-10-05add TNFi copyright to all files i've done more than a minor amount of work to...lukem
1999-10-05enhancments from Marc Horowitz <marc@mit.edu> to improve connection timeouts:lukem
1999-10-01* don't bother with "pathnames.h"; it contained just a single #define.lukem
1999-09-30#define BUFLEFT is always used...lukem
1999-09-29* consistentnly use memset(a,0,c); there were some cases of memset(a,'\0',c)lukem
1999-09-28revert snprintf() -> sprintf(). the original idea was that sprintf() would belukem
1999-09-28don't fudge out the stalltime when calculating the ETA. this means that thelukem
1999-09-28* add new commands:lukem
1999-09-27* idle(): rename to idlecmd(). certain linux distributions have an incompatiblelukem
1999-09-26remove now-unused variable left over from last commit.lukem
1999-09-26Use tcgetpgrp(fd) instead of ioctl(fd, TIOCGPGRP, &var), becauselukem
1999-09-26* replace ifdefs against __SVR4 and __linux__ with DIRENT_MISSING_D_NAMLEN;lukem
1999-09-24* use %lld instead of %qd to print out (long long) vars.lukem
1999-09-24* finish replacing snprintf() with sprintf(), for portability reasons.lukem
1999-09-22* add support for `xferbuf', which sets both `sndbuf' and `rcvbuf'lukem
1999-09-22replace snprintf() with strlcpy(), strlcat(), or direct assignmentlukem
1999-09-21cast 4th arg to [gs]etsockopt() to (void *), to satisfy some foriegn systemslukem
1999-07-12* change fetch_ftp() to be fully rfc 1738 compliant; if the URL containslukem
1999-07-02add dual-stack (IPv4/v6) support. hope I broke no other part...itojun
1999-06-29[fear this; more ftp hacking from lukem :-]lukem
1999-06-26always compile in ptransfer() (and bits of progressmeter()), so thatlukem
1999-06-24Avoid free'ing junk. It pisses off gnumalloc.christos
1999-06-20split the "SMALL" #ifdefs into ones for NO_ABOUT, NO_EDITCOMPLETE, andcgd
1999-06-02* fix gate mode to login as `user@realhost' rather than using PASSERVE;lukem
1999-05-20ftp_login would only return success for proxy connections after the lastmatthias