Skip to content

Support large files on 32-bit Linux - #2236

Merged
gavinandresen merged 1 commit into
bitcoin:masterfrom
sipa:largefiles
Jan 30, 2013
Merged

gavinandresen merged 1 commit into
bitcoin:masterfrom
sipa:largefiles

Conversation

@sipa

@sipa sipa commented Jan 30, 2013

Copy link
Copy Markdown
Member

No description provided.

@sipa

sipa commented Jan 30, 2013

Copy link
Copy Markdown
Member Author

Closes #2203

@gavinandresen

Copy link
Copy Markdown
Contributor

ACK assuming pull-tester is happy.

@jgarzik

jgarzik commented Jan 30, 2013

Copy link
Copy Markdown
Contributor

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

@sipa

sipa commented Jan 30, 2013

Copy link
Copy Markdown
Member Author

@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.

@BitcoinPullTester

Copy link
Copy Markdown

Comment thread src/makefile.unix

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

gavinandresen added a commit that referenced this pull request Jan 30, 2013
Support large files on 32-bit Linux
@gavinandresen
gavinandresen merged commit 8fd65c9 into bitcoin:master Jan 30, 2013
@sipa
sipa deleted the largefiles branch May 3, 2013 18:50
laudney pushed a commit to reddcoin-project/reddcoin-3.10 that referenced this pull request Mar 19, 2014
Support large files on 32-bit Linux
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants