1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-11 00:51:05 +02:00
Commit graph

52 commits

Author SHA1 Message Date
Mikael Magnusson
e2fe81ae9a 33785: Fix leaks of desthost in ztcp
Found by coverity.
2014-11-24 08:16:48 +01:00
Wayne Davison
2f8aaaf5e4 27286: Made movefd() return the targetfd on success. Added
a little more error checking in the callers of movefd().
2009-09-22 16:04:13 +00:00
Peter Stephenson
51409732d0 27284: better use of movefd() 2009-09-22 09:17:05 +00:00
Clint Adams
cbc24017fe 26013: don't ztrdup the other buffer returned by inet_ntoa. cf. 25987. 2008-11-06 01:35:12 +00:00
Clint Adams
1b78e1a912 25987: don't ztrdup the buffer returned by inet_ntoa. 2008-11-01 18:20:14 +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
3fbbdf245b 23482: more typos 2007-05-29 09:53:44 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
10f36dd29b 23168: fix error message for failed bind 2007-02-13 11:08:12 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +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
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Oliver Kiddle
0b787b5da2 19525: suppress compiler warnings and complete groups using lookupd on Mac OS 2004-03-03 11:05:40 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
1be7d4744d 18559, 18562: make modules use proper option arguments 2003-05-22 09:48:25 +00:00
Peter Stephenson
f319daae1d 18466: tcp.mdh only included by C file 2003-04-23 18:47:59 +00:00
Peter Stephenson
5c1f3b65a6 18202: New TCP function system plus small error message change in ztcp. 2003-02-06 12:21:49 +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
b2226ac72f remove builtin when tcp module is unloaded. 2002-06-05 21:02:34 +00:00
Peter Stephenson
69b570e28c 17253: ztcp -L gives parseable information on tcp session 2002-05-30 15:16:18 +00:00
Peter Stephenson
7898d5b198 17249: fix user output from ztcp 2002-05-29 13:15:35 +00:00
Peter Stephenson
00d476ac20 17220: Src/Modules/tcp.c: bugs using ztcp to list connections. 2002-05-24 13:01:57 +00:00
Peter Stephenson
dbe104ca8c 17171: Src/Modules/tcp.c: ztcp didn't return failure
when a connect() failed.
2002-05-16 14:05:27 +00:00
Peter Stephenson
92e651c940 17162: Src/Modules/tcp.c: prevent warning on
gethostbyaddr() arguments.
2002-05-14 17:52:50 +00:00
Peter Stephenson
568d2e0aba 17161: Src/Modules/tcp.c: length parameter to accept()
wasn't initialised, causing random failures.
2002-05-14 17:29:49 +00:00
Peter Stephenson
12e6a9ad32 17102: looking up TCP sessions by fd returned the wrong pointer 2002-05-08 16:45:21 +00:00
Peter Stephenson
8c47be28f9 17097: closing all TCP sessions referenced freed memory. 2002-05-08 15:54:05 +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
Bart Schaefer
fdb4782642 Remove <arpa/telnet.h> from tcp.c. 2001-10-14 17:23:30 +00:00
Oliver Kiddle
bc0f49e09b remove duplicated includes which caused problems on IRIX 5 (15987) 2001-10-08 16:36:54 +00:00
Andrey Borzenkov
b109834dc2 15964: use SOCKLEN_T 2001-10-08 07:19:35 +00:00
Clint Adams
1bbe1d1b0a 15919: use LinkLists in place of somewhat equivalent code 2001-10-02 02:35:00 +00:00
Clint Adams
8c05772007 15886: use select if poll is not available, or complain if neither are available 2001-09-27 15:36:41 +00:00
Clint Adams
ab205e5bb9 15780: rename **arg to **dargs 2001-09-10 19:19:15 +00:00
Clint Adams
2e174804c8 15779: ztcp -d 2001-09-10 15:23:37 +00:00
Clint Adams
718fb33b29 stupid bugfixes 2001-09-10 12:37:21 +00:00
Clint Adams
cb0f8a08c7 unposted: stupid -a bug 2001-09-10 02:41:20 +00:00
Clint Adams
7093e779e6 15771: ztcp -t 2001-09-10 02:17:55 +00:00
Clint Adams
5eb6315b3e 15769: ztcp -a 2001-09-09 23:33:06 +00:00
Clint Adams
3756589f1b 1576x: take service names, stuff fd numbers into $REPLY 2001-09-09 22:08:55 +00:00
Clint Adams
394989e292 15766: ztcp -l 2001-09-09 09:39:24 +00:00
Clint Adams
9a31296b3e 1596x: ztcp -v 2001-09-08 22:08:04 +00:00
Clint Adams
b554563ece 15762: introduce ztcp builtin 2001-09-08 21:09:55 +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