Mercury Bugs - mercury
View Issue Details
0000494mercuryBugpublic2020-01-23 11:412023-08-02 11:11
Reporterjuliensf 
Assigned Tojuliensf 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000494: hard_coded/nonascii fails on Windows
Descriptionhard_coded/nonascii fails on Windows (mingw64-{32,64},MSVC); it outputs "premature EOF" for most of the output.
TagsNo tags attached.
Attached Files

Notes
(0001072)
juliensf   
2020-01-27 04:13   
The reason for failure is that text mode in Windows treats the byte 0x1a (i.e. Ctrl-Z) as EOF. (There's not much we can do about this, short of switching files to binary mode on Windows.)
(0001207)
juliensf   
2023-08-02 11:11   
Fixed in commit 837a677c37fa7a341f2733cdc7071457d3ad83ef.

Issue History
2020-01-23 11:41juliensfNew Issue
2020-01-27 04:13juliensfNote Added: 0001072
2023-08-02 11:11juliensfAssigned To => juliensf
2023-08-02 11:11juliensfStatusnew => resolved
2023-08-02 11:11juliensfResolutionopen => fixed
2023-08-02 11:11juliensfNote Added: 0001207