Bug 73784 - d4x fails downloading large files
Bug#: 73784 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: liquidx@gentoo.org Reported By: klesnil@centrum.cz
Component: Applications
URL: 
Summary: d4x fails downloading large files
Keywords:  
Status Whiteboard: 
Opened: 2004-12-08 04:05 0000
Description:   Opened: 2004-12-08 04:05 0000
When downloading file larger then 2GB transfer hangs when downloaded size of
MAX_INT32 value is reached. If d4x is recompiled with -D_FILE_OFFSET_BITS=64 in
CXXFLAGS, everything works well.

This page has more information on problem with large files and Unix file API:
http://www.suse.de/~aj/linux_lfs.html


Reproducible: Always
Steps to Reproduce:
1. start d4x
2. download DVD image of Fedora Core 3
3. you won't get over 87%

Actual Results:  
stalled download, d4x trying to resume the download but fails with "Can't write
file!"

Expected Results:  
complete the task

------- Comment #1 From Alastair Tse (RETIRED) 2005-01-13 07:17:10 0000 -------
thanks for your report. fixed in 2.5.0's ebuild