Skip to content

[PATCH] Incorrect Haskell type for ino_t on MacOS X 10.5

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 patch to fix this:

git fetch git://github.com/phonohawk/packages-base.git darwin-htype-ino_t
Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information