Subject: Re: sftp size of 2GB files

Re: sftp size of 2GB files

From: Arno Schmitt <ars-rt_at_gmx.de>
Date: Mon, 10 Jan 2011 19:40:21 +0100

Sorry for not being clear.

I use version 1.2.7 (latest release). My message relates to this version only, not to the actual git revision. If it's already fixed there forget about my message.

Best regards
Arno
-------- Original-Nachricht --------
> Datum: Mon, 10 Jan 2011 18:56:01 +0100 (CET)
> Von: Daniel Stenberg <daniel_at_haxx.se>
> An: libssh2 development <libssh2-devel_at_cool.haxx.se>
> Betreff: Re: sftp size of 2GB files

> On Mon, 10 Jan 2011, Arno Schmitt wrote:
>
> > I'm running libssh2 with sftp file transfer under Suse Linux 11.2, 64
> Bit.
> > Using function libssh2_sftp_readdir_ex() on a directory containing a
> > 2GB=2^31 byte (exatcly) file reports file size = 18446744071562067968.
> >
> > I've changed method libssh2_uint64_t _libssh2_ntohu64(const unsigned
> char
> > *buf)
>
> Thanks!
>
> It's not very clear to me though.
>
> You changed it from what (or put in other words: "you should've provided
> the
> patch as a diff -u output")? This exact function has already been fixed in
> git
> (commit fd691deb1786caff). Are you saying that fix is bad or are you
> (re-)fixing the bug we had in 1.2.7 and earlier?
>
> --
>
> / daniel.haxx.se
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-01-10