[darcs-users] System.IO.Posix.MMap.mmapFile: unable to mmap file
Judah Jacobson
judah.jacobson at gmail.com
Wed Feb 4 17:41:40 UTC 2009
I ran into this yesterday, and tracked it down to a bug when mmaping
empty files. I discussed this with Don Stewart over email and sent
him a fix (attached) against
http://code.haskell.org/~dons/code/bytestring-mmap/
-Judah
On Wed, Feb 4, 2009 at 9:11 AM, Eric Kow <eric.kow at gmail.com> wrote:
> [Resending because I accidentally typed in darcs-user instead of darcs-users]
>
> Hi Petr,
>
> I'm getting the error 'System.IO.Posix.MMap.mmapFile: unable to mmap file'
> when I run the test suite (cabal test)
>
> Any suggestions? In the meantime, I've done:
>
> ghc-pkg unregister bytestring-mmap
> cabal clean
> cabal configure
> cabal build
> cabal test
>
> Thanks,
>
> --
> Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
> PGP Key ID: 08AC04F9
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkmJzFEACgkQBUrOwgisBPn1JQCgjtZ8DAjdbGErLJeaNK6T1t+n
> lwUAnA1FXDDLl3/VsFbVULUqimlNPeuz
> =s5p/
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: don_t-call-mmap-for-empty-files_--fixes-an-einval-on-bsd-systems_.dpatch
Type: application/octet-stream
Size: 3630 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20090204/8d3d7aa9/attachment.obj
More information about the darcs-users
mailing list