Peter Stephenson
d5c22d356b
41244: Add zmodload -s option.
...
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.
2017-06-12 10:10:23 +01:00
Jun-ichi Takimoto
a4020e10a3
37868: add 'static' to file local variables
2016-02-03 01:25:33 +09:00
Peter Stephenson
d45a68c546
36974: fix some functions with empty argument lists
2015-10-27 09:28:36 +00:00
Barton E. Schaefer
a88415cbf7
36026: zero freed pointers in zftp cleanup_() in case the module is re-loaded after unloading
2015-08-09 16:13:52 -07:00
Barton E. Schaefer
a1f8d4ffc7
35826: add getsparam_u() to return unmetafied string, use it for a number of references to non-special params
2015-07-22 12:52:24 -07:00
Peter Stephenson
ef4fb421f5
33582: don't include tcp.mdh in zftp.c.
...
It's a private module definition header that doesn't need
to be exposed.
2014-10-31 10:23:29 +00:00
Peter Stephenson
fdb00982f5
Jun T: 29883: cast resource types to types they should be anyway
2011-10-31 09:48:58 +00:00
Peter Stephenson
9c0a19669b
Danek: 29254: fix some compiler warnings
2011-05-13 18:12:05 +00:00
Wayne Davison
693fd5b56e
Check the return value of all pipe(), read(), and write() calls.
...
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-12-16 18:39:06 +00:00
Peter Stephenson
1d5a54270b
Richard Hartmann: 27440: typos in module warnings
2009-11-30 09:59:40 +00:00
Wayne Davison
bf25c3a43f
26735: Check some function return values for failures. Gets rid of
...
some compiler warnings, and improves error handling/notification.
2009-03-15 01:04:50 +00:00
Peter Stephenson
b2d08a2155
25744: dynamic named directories and further doshfunc() simplification
2008-09-26 09:11:27 +00:00
Peter Stephenson
2920c227d3
25677: add %x and %I prompt escapes for shell source code debugging
...
tidy up interface to doshfunc()
2008-09-16 15:02:01 +00:00
Clint Adams
f926ebbf23
25609: initialize sz variable.
2008-09-04 22:23:51 +00:00
Clint Adams
01ba47bd4f
revert that
2007-07-12 03:09:12 +00:00
Clint Adams
a5187bb6ac
23670: use getaddrinfo() and getnameinfo() instead of get*by* functions.
2007-07-12 02:33:19 +00:00
Peter Stephenson
1b52f47cf2
23665: autoloading of module features and related tweaks
2007-07-06 21:52:38 +00:00
Peter Stephenson
6ab77f00ff
23488: tidy up module interface and documentation
2007-05-29 17:01:07 +00:00
Peter Stephenson
b0c5f09169
see 23479: add initial features support for modules
2007-05-28 22:57:39 +00:00
Peter Stephenson
7d700220cf
Peter A. Castro: 23408: zftp account handling was broken
2007-05-10 09:24:09 +00:00
Peter Stephenson
dd5602f59b
22474: use variable argument lists to improve error message handling
2006-05-30 22:35:03 +00:00
Wayne Davison
f3ef6af5b4
- Got rid of one compiler warning about a clobbered variable.
...
- Split a line that had two statements on it (looked like an
accidental joining).
2006-03-13 22:25:16 +00:00
Wayne Davison
4cb83571c4
Changed some structures to avoid gcc's type-punned warnings.
2006-03-07 21:30:36 +00:00
Wayne Davison
53d663f543
Changed some isdigit() calls to use idigit().
2005-11-01 02:50:27 +00:00
Peter Stephenson
05b06b1c08
fix autoloaded trap bug; rejig use of trapfuncs
...
(now traplists); improve trap tests
2005-02-06 20:36:09 +00:00
Peter Stephenson
69b4b8bdde
20605: Use separate structure with get/set/unset methods fro parameters.
...
Separate justification width of parameters from base/precision.
2004-12-07 16:54:58 +00:00
Peter Stephenson
fece5e8960
20556: change SOCKLEN_T to ZSOCKLEN_T to avoid clash
2004-11-16 11:04:25 +00:00
Wayne Davison
3ccc3e4bdc
Use the new gettempfile() function.
2004-10-21 00:33:50 +00:00
Wayne Davison
8901caa58f
Call gettempname() with its new args.
2004-10-18 19:07:55 +00:00
Wayne Davison
fb0937a69e
Marked unused parameters with the new UNUSED() macro.
2004-06-02 22:14:25 +00:00
Wayne Davison
12b2ed63ab
Silenced one signed/unsigned comparison compiler warning.
2004-05-28 19:24:13 +00:00
Peter Stephenson
8de7436fc0
19674, modified: support for non-standard ports in zftp.
2004-03-24 11:31:30 +00:00
Peter Stephenson
815bc92148
a la 19209: zcalloc -> zshcalloc
2003-10-29 19:17:30 +00:00
Peter Stephenson
9634760d5e
17582: Improved option argument handling.
...
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Peter Stephenson
bbefa484f4
17166: Src/Modules/zftp.c: check fileno of zftp control
...
connection before closing, not after
2002-05-15 20:38:17 +00:00
Peter Stephenson
421123b0f0
17040: Src/Modules/tcp.c: AF_INET6 wasn't copied into the
...
socket structure for IPv6.
17041: Src/Modules/zftp.c: Minor but fatal typos creating a data
connection for zftp using IPv6.
2002-04-25 14:06:47 +00:00
Peter Stephenson
2a55dc74ef
17011: Src/Modules/tcp.c, Src/Modules/zftp.c: restore
...
freehostent() incorrectly removed in 16172.
2002-04-18 11:39:13 +00:00
Peter Stephenson
c9e1fd9567
16176: Src/Modules/tcp.c, Src/Modules/zftp.c: after fdclose(),
...
TCP control fd is no longer valid, but we still need to remove
the session cleanly.
2001-10-26 17:15:17 +00:00
Peter Stephenson
6d798f6700
16172: freehostent -> zfreehostent to avoid name clash
2001-10-26 12:06:38 +00:00
Peter Stephenson
f1a55ddaa9
15793: Src/Modules/zftp.c: require zsh/net/tcp explicitly.
...
15171: Doc/Zsh/zftpsys.yo: minor changes of phrasing
2001-10-26 11:09:46 +00:00
Clint Adams
6ef62b386b
16062: use O_EXCL when opening a temporary file.
2001-10-16 04:13:29 +00:00
Bart Schaefer
b5c135b2da
Zftp control connection management cleanup.
2001-09-28 17:35:44 +00:00
Clint Adams
b554563ece
15762: introduce ztcp builtin
2001-09-08 21:09:55 +00:00
Andrey Borzenkov
9b9e940117
14973: fix for reported problems on AIX.
2001-06-19 06:59:24 +00:00
Andrey Borzenkov
12e1cf567d
14931: fix socket/address length calculation
2001-06-15 13:01:42 +00:00
Clint Adams
f6ae716fb8
14863: tcp_connect
2001-06-12 15:57:25 +00:00
Clint Adams
ae09302120
14843: tcp_close
2001-06-11 14:21:57 +00:00
Bart Schaefer
6663b86f92
Fix #includes for gcc 2.95 compilation.
2001-06-08 03:05:50 +00:00
Clint Adams
ba81d70453
14770: tcp module from zftp
2001-06-06 18:53:56 +00:00
Andrey Borzenkov
69f010c8c9
users/3872: rename inet_* routines to avoid clash with Solaris 7 headers.
2001-05-10 16:57:28 +00:00