#7537: [PATCH] Incorrect Haskell type for ino_t on MacOS X 10.5 ----------------------------------------+----------------------------------- Reporter: PHO | Owner: Type: bug | Status: new Priority: normal | Component: libraries/base Version: 7.7 | Keywords: Os: MacOS X | Architecture: Unknown/Multiple Failure: Incorrect result at runtime | Blockedby: Blocking: | Related: ----------------------------------------+----------------------------------- I found a strange problem that `System.Posix.Internals.fdStat` reporting `st_ino == 0` for any file. That was because `__hscore_st_ino` was assuming `ino_t` to be `uint64_t` while `CIno` being inferred to be `Word32`.
Here is my [https://github.com/phonohawk/packages- base/commit/7ccbbb4e9e9b9617eb698eb92ef20a1052af38b9 patch] to fix this: {{{ git fetch git://github.com/phonohawk/packages-base.git darwin-htype-ino_t }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7537> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs