Opened 3 years ago

Closed 2 years ago

#5472 closed bug (fixed)

eventlog file should drop ".exe" exetention for consistency.

Reported by: shelarcy Owned by: igloo
Priority: normal Milestone: 7.4.1
Component: Compiler Version: 7.2.1
Keywords: Cc:
Operating System: Windows Architecture: x86
Type of failure: None/Unknown Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

GHC profiler always drop ".exe" extention in output file's name. But eventlog doesn't. eventlog file can contain ".exe" extention when usign "<program>.exe" command on Windows.

I think this different behavior causes problem when writing application. So, eventlog file should drop ".exe" exetention for consistency.

See also: #1955.

Attachments (1)

0001-Drop-.exe-exetention-from-eventlog-file-name.patch (1.9 KB) - added by duncan 2 years ago.
Patch: Drop ".exe" exetention from eventlog file name

Download all attachments as: .zip

Change History (6)

comment:1 Changed 2 years ago by igloo

  • Milestone set to 7.4.1
  • Owner set to duncan

Changed 2 years ago by duncan

Patch: Drop ".exe" exetention from eventlog file name

comment:2 Changed 2 years ago by duncan

  • Status changed from new to patch

comment:3 Changed 2 years ago by igloo

  • Owner changed from duncan to igloo

comment:4 Changed 2 years ago by duncan@…

commit cffb7601d8fa4c4939a08763564dda239fc80dab

Author: Duncan Coutts <duncan@well-typed.com>
Date:   Mon Nov 21 11:32:15 2011 +0000

    Drop ".exe" exetention from eventlog file name
    
    Fixes ticket #5472

 rts/eventlog/EventLog.c |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

comment:5 Changed 2 years ago by igloo

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

Applied, thanks!

Note: See TracTickets for help on using tickets.