Subject: FW: Windows issues with latest snapshot

FW: Windows issues with latest snapshot

From: Neil Gierman <ngierman_at_roadrunn.com>
Date: Mon, 15 Jun 2009 11:01:37 -0500

Sending this to the new mailing list incase people are already unsubscribing
from the old.

> -----Original Message-----
> From: Neil Gierman [mailto:ngierman_at_roadrunn.com]
> Sent: Sunday, June 14, 2009 8:03 PM
>
> Yes updating that line in libssh2.h line 74 to be <= 1500 instead of <=
> 1400
> also fixes the problem
>
>

Sorry for the duplicate but when I did my previous fix, I didn't test with a
completely clean sandbox.

Once I removed libssh2.h from the includes of knownhost and hostkey, then
the change regarding _MSC_VER was a problem.

Changing libssh2.h and keeping the changes to knownhost and hostkey works.

--- src\hostkey.c 2009-05-20 08:08:43.000000000 -0500
+++ src\hostkey.c 2009-06-14 19:50:53.000000000 -0500
@@ -33,13 +33,12 @@
  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
  * OF SUCH DAMAGE.
  */
 
-#include "libssh2.h"
 #include "libssh2_priv.h"
 #include "misc.h"
 
 /* Needed for struct iovec on some platforms */ #ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
--- src\knownhost.c 2009-06-10 21:02:03.000000000 -0500
+++ src\knownhost.c 2009-06-14 19:51:21.000000000 -0500
@@ -33,13 +33,12 @@
  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
  * OF SUCH DAMAGE.
  */
 
-#include "libssh2.h"
 #include "libssh2_priv.h"
 #include "misc.h"
 
 struct known_host {
     struct list_node node;
     char *name; /* points to the name or the hash (allocated) */

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

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-06-15