Home My Page Projects Code Snippets Project Openings SML/NJ Bugs
Summary Activity Tracker Lists

[#223] Incremental Build fails on Windows

Date:
2019-07-08 11:53
Priority:
3
State:
Closed
Submitted by:
Bug Submitter (webuser)
Assigned to:
John Reppy (jhr)
Machine Architecture:
x86
Operating System:
Windows 8.x
Component:
Compiler
Resolution:
Fixed
Severity:
Major
OS Version:
Win7(SP1)/x86-64
SML/NJ Version:
110.91
Keywords:
URL:
Transcript (of reproduction):
Error: Io: openOut failed on <skel-file>, win32-bin-prim-io.openWr: failed
Source (for reproduction):
CM.make <main-cm-file> on any project. E.g.: t.cm ::= Library structure T is t.sml t.sml ::= structure T = struct end
Summary:
Incremental Build fails on Windows

Detailed description
Incremental build (pre-existing data inside .cm directory) always raises Io exception.

Deleting .cm directory makes 1st build pass. Any successive invocation of CM.make fails.
Additional comments:
Issue present since 110.90

Submitted via web form by Daniel Siderits <daniel.siderits@logicdata.net>

Comments:

Message  ↓
Date: 2019-08-14 22:25
Sender: John Reppy

There was a missing CloseHandle() call in the file system code to get a file's timestamp. This led to access denied errors.

It is fixed for 110.93.

Attached Files:

Changes

Field Old Value Date By
Operating SystemOther2019-08-14 22:25jhr
ResolutionNone2019-08-14 22:25jhr
status_idOpen2019-08-14 22:25jhr
close_dateNone2019-08-14 22:25jhr
summaryIncremental Build fails (Win7)2019-08-10 12:38jhr
assigned_tonone2019-07-08 13:58jhr
detailsIncremental build (pre-existing data inside .cm directory) always raises Io exception. Deleting .cm directory makes 1st build pass. Any successive invocation of CM.make fails. Additional comments: Issue present since 110.90 Submitted via web form by Daniel Siderits <daniel.siderits@logicdata.net> 2019-07-08 13:58jhr
Source (for reproduction)CM.make <main-cm-file> on any project. E.g.: t.cm ::= Library structure T is t.sml t.sml ::= structure T = struct end2019-07-08 13:58jhr