Ticket #896 (closed merge: fixed)

Opened 7 years ago

Last modified 4 years ago

GetLastError/SetLastError in Windows

Reported by: eivuokko Owned by: igloo
Priority: normal Milestone: 6.6.1
Component: Runtime System Version: 6.4.2
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: Difficulty: Easy (less than 1 hour)
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by simonmar) (diff)

RTS might call Windows API calls transparently to user, which can lead to wierd GetLastError?-results, even with bound threads. GetLastError/SetLastError needs similar workaround as errno has.

Change History

Changed 7 years ago by simonmar

  • difficulty changed from Unknown to Easy (1 hr)
  • description modified (diff)
  • milestone set to 6.6.1

This one isn't too hard, let's do it for 6.6.1.

Changed 6 years ago by simonmar

  • owner set to simonmar

Changed 6 years ago by simonmar

  • owner changed from simonmar to igloo
  • type changed from bug to merge

Fixed. To merge:

Fri Jan 26 08:26:20 PST 2007  Simon Marlow <simonmar@microsoft.com>
  * Save the Win32 error code where necessary

Mon Jan 29 04:45:59 PST 2007  Simon Marlow <simonmar@microsoft.com>
  * fix bug in GetLastError/SetLastError patch

and in the testsuite:

Mon Jan 29 04:50:49 PST 2007  Simon Marlow <simonmar@microsoft.com>
  * add a test for #896

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 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.