Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004719OCamlOCaml generalpublic2009-02-18 17:032012-09-15 00:34
Reporterbartjacobs 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version3.11.0 
Target Version4.00.2+devFixed in Version 
Summary0004719: Sys.executable_name is wrong if executable name contains dots
DescriptionContext: Ocaml 3.11.0 on Windows Vista SP1

mybug.ml:
print_endline Sys.executable_name

> ocamlopt.opt -o mybug.exe mybug.ml
> mybug
C:\test\mybug.exe
> mybug.exe
C:\test\mybug.exe
> ren mybug.exe mybug.foo.exe
> mybug.foo.exe
C:\test\mybug.foo.exe
> mybug.foo
mybug.foo

The last output is wrong.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0008074)
doligez (manager)
2012-09-15 00:34

Under cygwin and OCaml 4.00.0, all four cases return the file name without the ".exe".
Need to check the other Windows ports.

- Issue History
Date Modified Username Field Change
2009-02-18 17:03 bartjacobs New Issue
2009-04-27 17:19 doligez Status new => acknowledged
2012-07-11 14:57 doligez Target Version => 4.01.0+dev
2012-07-31 13:36 doligez Target Version 4.01.0+dev => 4.00.1+dev
2012-09-15 00:34 doligez Note Added: 0008074
2012-09-15 00:34 doligez Target Version 4.00.1+dev => 4.00.2+dev


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker