Opened 11 years ago

Closed 11 years ago

Last modified 8 years ago

#753 closed bug (fixed)

DLL generated by ghc does exit()

Reported by: guest Owned by:
Priority: high Milestone: 6.6
Component: Compiler Version: 6.4.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

If you generate a DLL with ghc there is a number of places in the runtime system that does exit(). This is not an acceptable behaviour for a DLL. The user might have loaded a DLL into another application and will have no chance to save changes, etc.

I will try to fix this problem. A patch will be forthcoming.

-- Lennart

Attachments (1)

changes-exit (2.1 KB) - added by guest 11 years ago.
Patch to avoid exit() calls in DLL.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by guest

Attachment: changes-exit added

Patch to avoid exit() calls in DLL.

comment:1 Changed 11 years ago by simonmar

Milestone: 6.6

comment:2 Changed 11 years ago by simonmar

Priority: normalhigh

prio high, because it has a patch.

comment:3 Changed 11 years ago by simonmar

Resolution: fixed
Status: newclosed

Patch applied.

comment:4 Changed 8 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:5 Changed 8 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.