www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: [libssh2] [PATCH] blocking_read_and_warnings.patch

[libssh2] [PATCH] blocking_read_and_warnings.patch

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 11 Nov 2006 11:17:27 +0100 (CET)

Hey

This patch does three things, and should serve as a basis for further
discussions:

1 - #include <inttypes.h> and uses uint32_t (this is not very portable and
     need attention as I mentioned in my separate mail)

2 - changes libssh2_blocking_read() to return ssize_t and all code that uses
     this function explicitly checks its return code (better).

3 - I fixed a bunch of compiler warnings where functions got called with
     unsigned char * when they expect char *. I strongly suggest we patch away
     all warnings - now.

(And I really really want the code re-indented.)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Received on 2006-11-11

the libssh2 team