1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-17 12:41:14 +02:00
Commit graph

53 commits

Author SHA1 Message Date
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
Wayne Davison
0c2ae111df Don't define gethostbyname2() as static, since it can clash with the
system header files on a system that provides the prototype but not
the object.
2001-04-13 16:54:58 +00:00
Sven Wischnowsky
757168e2c8 remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365) 2001-01-16 13:44:18 +00:00
Clint Adams
ef13567352 13288: cast pointers for arg 2 of ztrapread/write 2000-12-17 21:47:54 +00:00
Peter Stephenson
c292a3ae50 Sven: 13108: Handle traps synchronously
pws: 13109, 13111: clear up zle display when output produced in trap.
2000-11-11 19:50:27 +00:00
Peter Stephenson
7f5828f0fb 12149: guard against undefined h_errno in zftp 2000-07-04 08:44:03 +00:00
Peter Stephenson
b6cf1f3303 11616: netinet/in_systm.h again 2000-05-28 20:59:15 +00:00
Peter Stephenson
ad9c7348b5 11587: Felix Rosencrantz: Src/pattern.c: uninitialised variable
11590: various cygwin fixes
2000-05-26 09:47:27 +00:00
Peter Stephenson
5bed7d645b 11567: FD_CLOEXEC in zftp.c 2000-05-25 10:50:05 +00:00