Opened 8 years ago

Closed 7 years ago

Last modified 3 months ago

#896 closed merge (fixed)

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)

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 (7)

comment:1 Changed 8 years ago by simonmar

  • Description modified (diff)
  • Difficulty changed from Unknown to Easy (1 hr)
  • Milestone set to 6.6.1

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

comment:2 Changed 7 years ago by simonmar

  • Owner set to simonmar

comment:3 Changed 7 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

comment:4 Changed 7 years ago by igloo

  • Resolution set to fixed
  • Status changed from new to closed

Merged.

comment:5 Changed 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:6 Changed 4 years ago by simonmar

  • Difficulty changed from Easy (1 hr) to Easy (less than 1 hour)

comment:7 Changed 3 months ago by Simon Marlow <simonmar@…>

Note: See TracTickets for help on using tickets.