Subject: libssh2 master 0627872... clarify that zero can be returned without meaning error

libssh2 master 0627872... clarify that zero can be returned without meaning error

From: <libssh2_at_git.stuge.se>
Date: 30 Aug 2009 15:08:03 -0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "C library for writing portable SSH2 clients".

The branch, master has been updated
       via 06278728e23363638e6f321f2b141498792a8330 (commit)
       via 0357befa4205582311c7d5550910b3b021579889 (commit)
       via 85198c1cdb54f156212ee18bdf768fa43e035d61 (commit)
      from face4750ca78fc69f667f82e2baaa5d233c35e6c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 06278728e23363638e6f321f2b141498792a8330
Author: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun Aug 30 17:07:50 2009 +0200

    clarify that zero can be returned without meaning error

commit 0357befa4205582311c7d5550910b3b021579889
Author: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun Aug 30 17:06:57 2009 +0200

    remove debug leftovers

commit 85198c1cdb54f156212ee18bdf768fa43e035d61
Author: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun Aug 30 17:00:49 2009 +0200

    channel_read() was changed to _libssh2_channel_read() as lots of
    internal code was changed to use that instead of wrongly using
    libssh2_channel_read_ex(). Some files now need to include
    channel.h to get this proto.
    
    channel_read() calls libssh2_error() properly on transport_read()
    failures
    
    channel_read() was adjusted to not "invent" EAGAIN return code in
    case the transport_read() didn't return it
    
    channel_close() now returns 0 or error code, as
    documented. Previously it would return number of bytes read in
    the last read, which was confusing (and useless).

-----------------------------------------------------------------------

Summary of changes:
 docs/libssh2_channel_read_ex.3 | 3 ++
 src/channel.c | 70 +++++++++++++++++-----------------------
 src/channel.h | 12 +++++++
 src/publickey.c | 7 ++--
 src/scp.c | 43 ++++++++++++------------
 src/sftp.c | 13 +++----
 6 files changed, 77 insertions(+), 71 deletions(-)

hooks/post-receive

-- 
C library for writing portable SSH2 clients
_______________________________________________
libssh2-changes mailing list
libssh2-changes_at_cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-changes
Received on 2009-08-30