summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/util.c
AgeCommit message (Expand)Author
2019-11-18various knf and whitespace; ok jcaTheo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-28mkstemp() returns -1 on failureTheo de Raadt
2019-05-16Revert suni'ls ftp rewrite for now.Florian Obser
2019-05-12add rcs idsJasper Lievisse Adriaanse
2019-05-12Move us from old ftp(1) to Sunil's new ftp(1). The necessary modificationskmos
2017-12-23Use the monotonic clock for logging progress in cdio(1) and ftp(1).cheloha
2017-09-05Avoid a possible leak in progressmeterJeremie Courreges-Anglas
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
2017-01-20#ifndef SMALL around a couple of non-SMALL labels.Kenneth R Westerback
2017-01-11Don't attempt to read .netrc when we already force anonymous FTP (-a).Vadim Zhukov
2016-08-20Use connect(2) + a connect_wait() function instead of connect_sync(),Todd C. Miller
2016-08-18Move connect_sync() to util.c and use it when connecting via httpTodd C. Miller
2016-08-14Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull.Philip Guenther
2016-07-28these programs probably do not need to use TMPDIR. ok florianTed Unangst
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
2015-12-09Remove NULL-checks before free(). ok tb@mmcc
2015-10-18unrelated commit; not ready yetTheo de Raadt
2015-10-18First casualty of making pledge "dns" mandatory for dns users.Theo de Raadt
2015-10-18A whole buncha unsigned char casts for ctype function arguments.mmcc
2015-03-17Eliminate use of TM_YEAR_BASE. OK guenther@ deraadt@ miod@Todd C. Miller
2015-03-15tzfile.h is an internal header that should never have been installed.Todd C. Miller
2015-02-09remove the safeguard against porting to machines without 8 bit bytes.Ted Unangst
2015-01-30remove tenex transfer support. if you still have TOPS20 machines inTed Unangst
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-08-16I found a number of interactive events which can cause signals, and goTheo de Raadt
2014-01-29Unbreak ftp progress meter after the introduction of the '-D' flagDavid Coppa
2014-01-23Add -D shorttitle support, so that the progress meter can show some sortTheo de Raadt
2009-11-11do not walk off the prefix array, off by one; found by parfaitTheo de Raadt
2009-05-10show which username login failed for; ok martynasTheo de Raadt
2009-05-05make it clean removing the ifdef SMALL maze. separate cmds andMartynas Venckus
2009-04-27remove uploading and macros support from install media; to saveMartynas Venckus
2009-04-27toast the rcsid strings which just get in the wayTheo de Raadt
2009-04-26figure out titles automatically by using remote file name. removeMartynas Venckus
2009-04-26make two similar text strings identical; improves consistency and shrinksStuart Henderson
2009-04-13add a "-T title" option to ftp; this is is used in progress bar mode toTheo de Raadt
2009-01-27on some servers LIST defaults to LIST -a. ignore pseudo-directoriesMartynas Venckus
2008-08-22default file transfer type is binary, not ascii;Igor Sobrado
2008-07-08- add support for recursive transfers (but not for floppies), e.g.Martynas Venckus
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-25in resume mode, pass -c to mget when {dir,file}hasglob, so that i'mMartynas Venckus
2008-06-16- add 'q', which does the same as eofMartynas Venckus
2008-06-16fix transfer interrupting when confirmrest mode is used. changeMartynas Venckus
2008-06-15make further prompts work after eof, don't spam with prompts inMartynas Venckus
2008-05-13Remove #if 0 code that has been unused for nearly a decade (andRay Lai
2007-09-11use strcspn to properly overwrite '\n' in fgets returned bufferGilles Chehade
2007-06-06Remove the .netrc parser when compiling a SMALL binary.Pierre-Yves Ritschard
2006-11-02Pass full buffer size to fgets.Ray Lai
2006-11-02Add checks for fgets and properly overwrite newline.Ray Lai
2006-05-16Remove shadowing variables and properly use /* FALLTHROUGH */Ray Lai