diff options
author | Damien Miller <djm@mindrot.org> | 2005-05-26 12:23:44 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2005-05-26 12:23:44 +1000 |
commit | b253cc42136649e3eac80e02667f8fbc1e43baaa (patch) | |
tree | e3824a905c7b12e4901e60e87ecdc968228e645e /ChangeLog | |
parent | 02e754f1f01470c11a175a0d07381361afe37fff (diff) |
- avsm@cvs.openbsd.org 2005/05/24 17:32:44
[atomicio.c atomicio.h authfd.c monitor_wrap.c msg.c scp.c sftp-client.c]
[ssh-keyscan.c sshconnect.c]
Switch atomicio to use a simpler interface; it now returns a size_t
(containing number of bytes read/written), and indicates error by
returning 0. EOF is signalled by errno==EPIPE.
Typical use now becomes:
if (atomicio(read, ..., len) != len)
err(1,"read");
ok deraadt@, cloder@, djm@
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -83,6 +83,18 @@ | |||
83 | - avsm@cvs.openbsd.org 2005/05/24 02:05:09 | 83 | - avsm@cvs.openbsd.org 2005/05/24 02:05:09 |
84 | [ssh-keygen.c] | 84 | [ssh-keygen.c] |
85 | some style nits from dmiller@, and use a fatal() instead of a printf()/exit | 85 | some style nits from dmiller@, and use a fatal() instead of a printf()/exit |
86 | - avsm@cvs.openbsd.org 2005/05/24 17:32:44 | ||
87 | [atomicio.c atomicio.h authfd.c monitor_wrap.c msg.c scp.c sftp-client.c] | ||
88 | [ssh-keyscan.c sshconnect.c] | ||
89 | Switch atomicio to use a simpler interface; it now returns a size_t | ||
90 | (containing number of bytes read/written), and indicates error by | ||
91 | returning 0. EOF is signalled by errno==EPIPE. | ||
92 | Typical use now becomes: | ||
93 | |||
94 | if (atomicio(read, ..., len) != len) | ||
95 | err(1,"read"); | ||
96 | |||
97 | ok deraadt@, cloder@, djm@ | ||
86 | 98 | ||
87 | 20050524 | 99 | 20050524 |
88 | - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec] | 100 | - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec] |
@@ -2582,4 +2594,4 @@ | |||
2582 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 2594 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
2583 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 2595 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
2584 | 2596 | ||
2585 | $Id: ChangeLog,v 1.3785 2005/05/26 02:19:39 djm Exp $ | 2597 | $Id: ChangeLog,v 1.3786 2005/05/26 02:23:44 djm Exp $ |