summaryrefslogtreecommitdiff
path: root/Src/Modules/zftp.c
AgeCommit message (Collapse)AuthorFilesLines
2024-12-2653257: use monotonic clock where appropriatedana1-2/+2
update the following features to use the monotonic clock for calculating time deltas and intervals: * MAILCHECK parameter * PERIOD parameter * SECONDS parameter * %(nS.t.f) prompt-expansion sequence * time built-in's elapsed time and cpu % values * zsh/zftp ZFTP_TMOUT parameter * zsh/zprof timings also use CLOCK_MONOTONIC_RAW instead of CLOCK_MONOTONIC on macOS
2024-05-13Ooops, missed the actualy patch from the foregoing...Peter Stephenson1-0/+1
2024-03-1852750: remove ansi2knr support for old pre-ansi K&R compilersOliver Kiddle1-1/+1
2023-06-2651889: fix module loading problem with full RELROJun-ichi Takimoto1-1/+1
If full RELRO (relocation read-only, one of the security enhancement methods for ELF-based systems) is used when building zsh (as in binary packages of most Linuxes), loading a module (e.g. zsh/zftp) fails unless all the modules it depends on are already loaded. With this patch the necessary modules are automatically loaded.
2022-12-1651212: remove STOUC() macroOliver Kiddle1-6/+6
This served as a workaround for ancient compilers where casts to unsigned char were broken.
2020-01-09Fix typos reported by codespell in Src/Mikael Magnusson1-1/+1
2019-03-2544176: warn only if off_t is longer than longJun-ichi Takimoto1-1/+2
2019-03-2544162 (tweaked): Avoid format-overflow warning in zftp.cWesley Schwengle1-8/+2
2018-06-18433029: Testing signal return type is no longer neededEitan Adler1-1/+1
2017-06-1241244: Add zmodload -s option.Peter Stephenson1-1/+1
Doesn't complain if module is unavailable, but prints more obscure errors. Use existing low-level silent flag by passing through intermediate module loading hierarchy.
2016-02-0337868: add 'static' to file local variablesJun-ichi Takimoto1-4/+4
2015-10-2736974: fix some functions with empty argument listsPeter Stephenson1-4/+4
2015-08-0936026: zero freed pointers in zftp cleanup_() in case the module is ↵Barton E. Schaefer1-0/+2
re-loaded after unloading
2015-07-2235826: add getsparam_u() to return unmetafied string, use it for a number of ↵Barton E. Schaefer1-3/+3
references to non-special params
2014-10-3133582: don't include tcp.mdh in zftp.c.Peter Stephenson1-1/+0
It's a private module definition header that doesn't need to be exposed.
2011-10-31Jun T: 29883: cast resource types to types they should be anywayPeter Stephenson1-1/+1
2011-05-13Danek: 29254: fix some compiler warningsPeter Stephenson1-0/+1
2009-12-16Check the return value of all pipe(), read(), and write() calls.Wayne Davison1-5/+5
Gets rid of all the remaining "ignoring return value" compiler warnings, and makes some read/write operations safer by ensuring that an EINTR is handled.
2009-11-30Richard Hartmann: 27440: typos in module warningsPeter Stephenson1-1/+1
2009-03-1526735: Check some function return values for failures. Gets rid ofWayne Davison1-2/+3
some compiler warnings, and improves error handling/notification.
2008-09-2625744: dynamic named directories and further doshfunc() simplificationPeter Stephenson1-5/+5
2008-09-1625677: add %x and %I prompt escapes for shell source code debuggingPeter Stephenson1-15/+15
tidy up interface to doshfunc()
2008-09-0425609: initialize sz variable.Clint Adams1-1/+1
2007-07-12revert thatClint Adams1-14/+18
2007-07-1223670: use getaddrinfo() and getnameinfo() instead of get*by* functions.Clint Adams1-18/+14
2007-07-0623665: autoloading of module features and related tweaksPeter Stephenson1-3/+3
2007-05-2923488: tidy up module interface and documentationPeter Stephenson1-1/+1
2007-05-28see 23479: add initial features support for modulesPeter Stephenson1-20/+40
2007-05-10Peter A. Castro: 23408: zftp account handling was brokenPeter Stephenson1-1/+1
2006-05-3022474: use variable argument lists to improve error message handlingPeter Stephenson1-45/+43
2006-03-13- Got rid of one compiler warning about a clobbered variable.Wayne Davison1-2/+3
- Split a line that had two statements on it (looked like an accidental joining).
2006-03-07Changed some structures to avoid gcc's type-punned warnings.Wayne Davison1-4/+4
2005-11-01Changed some isdigit() calls to use idigit().Wayne Davison1-7/+6
2005-02-06fix autoloaded trap bug; rejig use of trapfuncsPeter Stephenson1-2/+3
(now traplists); improve trap tests
2004-12-0720605: Use separate structure with get/set/unset methods fro parameters.Peter Stephenson1-2/+2
Separate justification width of parameters from base/precision.
2004-11-1620556: change SOCKLEN_T to ZSOCKLEN_T to avoid clashPeter Stephenson1-3/+3
2004-10-21Use the new gettempfile() function.Wayne Davison1-2/+1
2004-10-18Call gettempname() with its new args.Wayne Davison1-1/+1
2004-06-02Marked unused parameters with the new UNUSED() macro.Wayne Davison1-19/+19
2004-05-28Silenced one signed/unsigned comparison compiler warning.Wayne Davison1-1/+1
2004-03-2419674, modified: support for non-standard ports in zftp.Peter Stephenson1-9/+63
2003-10-29a la 19209: zcalloc -> zshcallocPeter Stephenson1-3/+3
2002-08-2717582: Improved option argument handling.Peter Stephenson1-1/+1
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-05-1517166: Src/Modules/zftp.c: check fileno of zftp controlPeter Stephenson1-2/+3
connection before closing, not after
2002-04-2517040: Src/Modules/tcp.c: AF_INET6 wasn't copied into thePeter Stephenson1-2/+2
socket structure for IPv6. 17041: Src/Modules/zftp.c: Minor but fatal typos creating a data connection for zftp using IPv6.
2002-04-1817011: Src/Modules/tcp.c, Src/Modules/zftp.c: restorePeter Stephenson1-3/+3
freehostent() incorrectly removed in 16172.
2001-10-2616176: Src/Modules/tcp.c, Src/Modules/zftp.c: after fdclose(),Peter Stephenson1-0/+7
TCP control fd is no longer valid, but we still need to remove the session cleanly.
2001-10-2616172: freehostent -> zfreehostent to avoid name clashPeter Stephenson1-3/+3
2001-10-2615793: Src/Modules/zftp.c: require zsh/net/tcp explicitly.Peter Stephenson1-1/+2
15171: Doc/Zsh/zftpsys.yo: minor changes of phrasing
2001-10-1616062: use O_EXCL when opening a temporary file.Clint Adams1-1/+1