[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mldonkey-users] >2GB Bug again?
From: |
Fortin Denis |
Subject: |
Re: [Mldonkey-users] >2GB Bug again? |
Date: |
Sat, 15 Nov 2003 23:33:51 +0100 |
Le sam 15/11/2003 à 01:19, Martin a écrit :
> Fortin Denis wrote...
> > Can you modify this in your small test program :
> > in file src/utils/lib/stubs_c.c
> > in function value md4_unsafe64_fd (value digest_v, value fd_v, value pos_v,
> > value len_v)
> > (line ~445)
> > OS_FD fd = Fd_val(fd_v);
> > long pos = Int64_val(pos_v);
> > to
> > unsigned long pos = Int64_val(pos_v);
>
> ok did it...
>
> > Don't know if this help ( but
> > 2898944000 is 1010 1100 1100 1010 0110 0000 0000 0000)
>
> this doesnt tell me anything at all :(
>
> > dd if=temp/THATBIGFILE of=testfile ibs=1 skip=2898944000 && md4sum testfile
> > 126976+0 records in
> > 248+0 records out
> > 4b52777d788777fcff2b8018e506b14a
>
> > Your system supports 1024 file descriptors
> > Partial 298
> > Length 126976
> > Start 2898944000
> > End 2899070976
> > Hash 4B52777D788777FCFF2B8018E506B14A
>
> WAHOOO! You are my hero! It works!
> I will compile a new core right now and see if my file gets
> finished...
i suggest to use the attached one (bzip2) for the next release instead of the
one in savannah
It's cleaner and will support files over 4GB if possible.
The AC_SYS_LARGEFILE is defined only in autoconf-2.5x, so i bumped the
prereq to 2.5 in configure.in.
With this patch you'll see the number of bits of off_t when you do
./configure + you'll see a small text after
"Your system supports x file descriptors"
telling you how big the file you can download can be (hmmmmmm... not
very clear...try it!).
NB: you'll have to do a autoconf-2.5 in config/
before ./configure
Denis
bff.patch
Description: Text Data
- Re: [Mldonkey-users] >2GB Bug again?, (continued)
- Re: [Mldonkey-users] >2GB Bug again?, Andre Hinrichs, 2003/11/14
- Re: [Mldonkey-users] >2GB Bug again?, Pierre Etchemaite, 2003/11/14
- Re: [Mldonkey-users] >2GB Bug again?, Martin, 2003/11/14
- Re: [Mldonkey-users] >2GB Bug again?, Fortin Denis, 2003/11/14
- Re: [Mldonkey-users] >2GB Bug again?, Martin, 2003/11/14
- Re: [Mldonkey-users] >2GB Bug again?, Martin, 2003/11/14
- Re: [Mldonkey-users] >2GB Bug again?, Fortin Denis, 2003/11/15
- Re: [Mldonkey-users] >2GB Bug again?, Andre Hinrichs, 2003/11/15
- Re: [Mldonkey-users] >2GB Bug again?, Martin, 2003/11/15
- Re: [Mldonkey-users] >2GB Bug again?, Fortin Denis, 2003/11/15
- Re: [Mldonkey-users] >2GB Bug again?,
Fortin Denis <=
- Re: [Mldonkey-users] >2GB Bug again?, Fortin Denis, 2003/11/15
- Re: [Mldonkey-users] >2GB Bug again?, Martin, 2003/11/15
- Re: [Mldonkey-users] >2GB Bug again?, Nick Katsamas, 2003/11/17
- [Mldonkey-users] Re: >2GB Bug again?, spiralvoice, 2003/11/24
- Re: [Mldonkey-users] Re: >2GB Bug again?, Fortin Denis, 2003/11/24
- Re: [Mldonkey-users] Re: >2GB Bug again?, Fortin Denis, 2003/11/24
- Re: [Mldonkey-users] Re: >2GB Bug again?, devein, 2003/11/24
- Re: [Mldonkey-users] Re: >2GB Bug again?, Martin, 2003/11/24
- Re: [Mldonkey-users] Re: >2GB Bug again?, devein, 2003/11/24
- Re: [Mldonkey-users] Re: >2GB Bug again?, Martin, 2003/11/24