ad23faaae6
Before this patch "_libssh2_error" required the error message to be a static string. This patch adds a new function "_libssh2_error_flags" accepting an additional "flags" argument and specifically the flag "LIBSSH2_ERR_FLAG_DUP" indicating that the passed string must be duplicated into the heap. Then, the method "_libssh2_error" has been rewritten to use that new function under the hood. Signed-off-by: Salvador Fandino <sfandino@yahoo.com> Signed-off-by: Salvador Fandiño <sfandino@yahoo.com> |
||
---|---|---|
cmake | ||
docs | ||
example | ||
include | ||
m4 | ||
nw | ||
src | ||
tests | ||
vms | ||
win32 | ||
.gitattribute | ||
.gitignore | ||
.travis.yml | ||
acinclude.m4 | ||
appveyor.yml | ||
buildconf | ||
CMakeLists.txt | ||
config.rpath | ||
configure.ac | ||
COPYING | ||
get_ver.awk | ||
git2news.pl | ||
libssh2-style.el | ||
libssh2.pc.in | ||
Makefile.am | ||
Makefile.inc | ||
Makefile.libgcrypt.inc | ||
Makefile.OpenSSL.inc | ||
Makefile.WinCNG.inc | ||
maketgz | ||
NEWS | ||
NMakefile | ||
README | ||
RELEASE-NOTES |
libssh2 - SSH2 library ====================== libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license. Web site: http://www.libssh2.org/ Mailing list: http://cool.haxx.se/mailman/listinfo/libssh2-devel License: see COPYING Source code: https://github.com/libssh2/libssh2 Web site source code: https://github.com/libssh2/www Installation instructions are in: - docs/INSTALL_CMAKE for CMake - docs/INSTALL_AUTOTOOLS for Autotools