Support large files on 32-bit Linux #2236

pull sipa wants to merge 1 commits into bitcoin:master from sipa:largefiles changing 2 files +3 −1
  1. sipa commented at 3:43 AM on January 30, 2013: member

    No description provided.

  2. sipa commented at 3:43 AM on January 30, 2013: member

    Closes #2203

  3. gavinandresen commented at 3:45 AM on January 30, 2013: contributor

    ACK assuming pull-tester is happy.

  4. jgarzik commented at 3:54 AM on January 30, 2013: contributor

    From reading the man page, it sounds like you want _LARGEFILE64_SOURCE too?

  5. sipa commented at 4:02 AM on January 30, 2013: member

    @jgarzik _FILE_OFFSET_BITS changes the size of off_t, and makes fopen transparently support large files. _LARGEFILE64_SOURCE adds off64_t, fseeko64()... in addition to the normal ones.

  6. BitcoinPullTester commented at 4:23 AM on January 30, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/58ac2a35835935cd0d4336d85c08158f29e0ccde for binaries and test log.

  7. Support large files on 32-bit Linux 3cce597fc9
  8. in src/makefile.unix:None in 58ac2a3583 outdated
       6 | @@ -7,7 +7,7 @@ USE_IPV6:=1
       7 |  
       8 |  LINK:=$(CXX)
       9 |  
      10 | -DEFS=-DBOOST_SPIRIT_THREADSAFE
      11 | +DEFS=-DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64
    


    Diapolo commented at 6:05 AM on January 30, 2013:

    I'm not sure, shouldn't this get added in the bitcoin-qt.pro file also?

  9. gavinandresen referenced this in commit 8fd65c944f on Jan 30, 2013
  10. gavinandresen merged this on Jan 30, 2013
  11. gavinandresen closed this on Jan 30, 2013

  12. sipa deleted the branch on May 3, 2013
  13. laudney referenced this in commit a3d6f1c4a1 on Mar 19, 2014
  14. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-19 09:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me