Bug 1483 – Errors in threads not directed to stderr

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
All
Creation time
2007-09-07T09:39:00Z
Last change time
2014-02-17T22:49:58Z
Keywords
diagnostic, EH, patch
Assigned to
bugzilla
Creator
smjg

Attachments

IDFilenameSummaryContent-TypeSize
176thread.patchPatch for std.threadtext/plain596

Comments

Comment #0 by smjg — 2007-09-07T09:39:48Z
The fix to direct uncaught errors to stderr was finally folded into internal\dmain2.d. However, it has been missed out from std\thread.d. Consequently, error messages thrown by threads don't go to the right place.
Comment #1 by smjg — 2007-09-07T09:45:10Z
Created attachment 176 Patch for std.thread I presume there's a reason dmain2.d uses fprintf rather than fwritef(ln), but don't know what that reason is.
Comment #2 by bugzilla — 2007-11-03T21:47:37Z
Fixed dmd 1.023 and 2.007