Tushar Teredesai wrote: > On 1/7/06, Georgios Tsarouchas <[EMAIL PROTECTED]> wrote: > >> I 've found out that compiling unzip following the BLFS instructions gives me >>a binary that can't proccess a file greater than 2Gbyte. After a little >>searching i found out that this has to with the C library's fseek() using 32 >>bit integrers for file offsets. >> >>The size limit could be expanded to 4 GB byte using "-D_FILE_OFFSET_BITS=64" >>during compiling of unzip. This one works on my system (Athlon XP 1600+) >> >>Would be the case of adding the -D_FILE_OFFSET_BITS=64 in the LOCAL_UNZIP >>variable of the book? These days is easy to find large zipped files around >>and the current unzip can't handle them. >> > > > Looks good to me. I had no problems compiling with the switch, did not > test it on a 4GB file but I will take your word for it. Unless there > are any objections I will commit the change tomorrow.
Go ahead. The code looks OK to me. It would be nice to do it in zip too, but I couldn't find an equivalent construct (didn't look a lot). -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
