RELEASE.0.16
Add more files.
added NMakefile to Makefile.am so that it gets included with releases and daily snapshots.
fixed NMakefile stuff to build at least the DLL again.
While the previous commit seemed to correct a problem, it actually exposed another problem. Commit this until a proper fix is found
Initially the libssh2 code was indented with tabs of 4 spaces. Some of the recent commits converted the tabs to 4 spaces, which matched the initial indent size. Other commits converted the tabs to 8 spaces, this didn't match.
Another bug pointed out by Troy Gutjahr. The free and nulling for two pointers were crossed
The variable "packet" needs to be in LIBSSH2_SFTP_HANDLE for re-entry when blocking in libssh2_sftp_close_handle()
Modify the code to truely support non-blocking. Propogate the EAGAIN error all the way up to the user interface. All code modules bug sftp.c have been completed.
non-gcc compilers break with var declarations in the middle of the code.
as mentioned in bug #1655429, the CRLF pair was stripped off in the wrong order!
* Eberhard Mattes submitted a patch "According to RFC 4251, a boolean value of true is encoded as 1, not as 0xff". Servers should accept any non-zero value.
* After setting the error to the error string from in the packet, set the pointer to NULL so it can't be double freed. * On session cleanup be sure to free the last error if it needs to be
libssh2_poll() no longer relies on C99 features but instead uses alloca() on systems that have it - and uses a fixed-size array on those that don't. session.c was also cleaned from a large amount of trailing whitespace.
The test after the memory allocation was backwards, so keyboard-interactive would always fail due to a memory problem.