<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>73784</bug_id>
          
          <creation_ts>2004-12-08 04:05 0000</creation_ts>
          <short_desc>d4x fails downloading large files</short_desc>
          <delta_ts>2005-01-13 07:17:10 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>klesnil@centrum.cz</reporter>
          <assigned_to>liquidx@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>klesnil@centrum.cz</who>
            <bug_when>2004-12-08 04:05:13 0000</bug_when>
            <thetext>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&apos;t get over 87%

Actual Results:  
stalled download, d4x trying to resume the download but fails with &quot;Can&apos;t write
file!&quot;

Expected Results:  
complete the task</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>liquidx@gentoo.org</who>
            <bug_when>2005-01-13 07:17:10 0000</bug_when>
            <thetext>thanks for your report. fixed in 2.5.0&apos;s ebuild</thetext>
          </long_desc>
      
    </bug>

</bugzilla>