Ticket #1086 (closed merge: fixed)

Opened 6 years ago

Last modified 4 years ago

unix package cannot be compiled with -fasm, due to lstat()

Reported by: simonmar Owned by: igloo
Priority: normal Milestone: 6.6.1
Component: libraries/unix Version: 6.6
Keywords: Cc: volodimir.rudenko@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Easy (less than 1 hour)
Test Case: Blocked By:
Blocking: Related Tickets:

Description

On some systems (eg. Linux with glibc) lstat is a macro, so calling it directly via the FFI doesn't work when using the NCG. We should create a stub wrapper for lstat().

See  http://www.haskell.org/pipermail/glasgow-haskell-bugs/2006-December/007900.html

Change History

Changed 6 years ago by simonmar

  • type changed from bug to merge
  • milestone changed from 6.8 to 6.6.1

Fixed, to merge:

Mon Feb 26 11:03:11 GMT 2007  Simon Marlow <simonmar@microsoft.com>
  * add C wrappers for lstat() and mknod().  Fixes #1086.

Changed 6 years ago by simonmar

  • owner set to igloo

Changed 6 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Merged.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple

Changed 4 years ago by simonmar

  • difficulty changed from Easy (1 hr) to Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.