Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mmap test failure on 32-bit Linux #3842

Closed
staticfloat opened this issue Jul 26, 2013 · 1 comment
Closed

mmap test failure on 32-bit Linux #3842

staticfloat opened this issue Jul 26, 2013 · 1 comment
Labels
domain:io Involving the I/O subsystem: libuv, read, write, etc. kind:bug Indicates an unexpected problem or unintended behavior system:linux Affects only Linux test This change adds or pertains to unit tests

Comments

@staticfloat
Copy link
Sponsor Member

I'm now getting a failure on @test c == "Hello World".data in file.jl, however when I inspect the file manually, I read in Hellx Worl^@.

This is on latest master, on the same machine that was failing the filesize() tests.

@vtjnash
Copy link
Sponsor Member

vtjnash commented Jul 26, 2013

turns out the mmap function is a macro on ubuntu, we should be calling mmap64. (on Mac, its called mmap)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:io Involving the I/O subsystem: libuv, read, write, etc. kind:bug Indicates an unexpected problem or unintended behavior system:linux Affects only Linux test This change adds or pertains to unit tests
Projects
None yet
Development

No branches or pull requests

2 participants