Re: [GHC] #7537: [PATCH] Incorrect Haskell type for ino_t on MacOS X 10.5
#7537: [PATCH] Incorrect Haskell type for ino_t on MacOS X 10.5 --+- Reporter: PHO | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries/base |Version: 7.7 Resolution: | Keywords: Os: MacOS X | Architecture: Unknown/Multiple Failure: Incorrect result at runtime | Difficulty: Unknown Testcase: | Blockedby: Blocking: |Related: --+- Changes (by simonmar): * status: patch = new * difficulty: = Unknown Comment: I'm suspicious of this fix. If configure is finding the wrong type for `st_ino`, then that looks like a bug in autoconf. The configure script for base already has this: {{{ # Enable large file support. Do this before testing the types ino_t, off_t, and # rlim_t, because it will affect the result of that test. AC_SYS_LARGEFILE }}} If this isn't working properly, we need to find out why and inform the autoconf folks if necessary. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7537#comment:2 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
[GHC] #7537: [PATCH] Incorrect Haskell type for ino_t on MacOS X 10.5
#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
Re: [GHC] #7537: [PATCH] Incorrect Haskell type for ino_t on MacOS X 10.5
#7537: [PATCH] Incorrect Haskell type for ino_t on MacOS X 10.5 +--- Reporter: PHO | Owner: Type: bug | Status: patch Priority: normal | Component: libraries/base Version: 7.7 | Keywords: Os: MacOS X | Architecture: Unknown/Multiple Failure: Incorrect result at runtime | Blockedby: Blocking: |Related: +--- Changes (by PHO): * status: new = patch -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7537#comment:1 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