id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
2093	getSymbolicLinkStatus (and possibly other functions) broken on systems with large file system support	JeremyShaw		"This thread contains more details:

http://www.haskell.org/pipermail/haskell-cafe/2008-February/039549.html

Basically, it appears that the unix module is built without the large filesystem support enabled, so it calls the 32-bit version of lstat. But hsc2hs includes header files that enable large file system support, so the offsets are for the stat64 struct. This means many fields in FileStatus are filled with garbage.

I have attached a patch which adds the AC_SYS_LARGEFILE macro to configure.ac. This is the same macro which enables large file support in ghc. There could still be a problem however. For example, if you built ghc on a system without large file support, and but the unix module on a system with large file support -- then they would be out of sync. This patch seems better than the current situation however. "	bug	closed	normal	6.8.3	libraries/unix	6.8.2	fixed		gwern0@…	Linux	x86		Unknown				
