Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73784 - d4x fails downloading large files
Summary: d4x fails downloading large files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 04:05 UTC by Jan Klesnil
Modified: 2005-01-13 07:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Klesnil 2004-12-08 04:05:13 UTC
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 Alastair Tse (RETIRED) gentoo-dev 2005-01-13 07:17:10 UTC
thanks for your report. fixed in 2.5.0's ebuild