Sample code: import std.mmfile, std.stdio; void main() { auto test = new MmFile(null, MmFile.Mode.ReadWriteNew, 1024*1024, null); writefln("Done"); } The problem: "Error: : The system cannot find the path specified." It looks like the MmFile code tries to open the null as a file and fails; however, the spec says that null as a filename creates an anonymous mapping. Reference: http://digitalmars.com/d/1.0/phobos/std_mmfile.html Since my StackThreads implementation relies on memory-mapped files for stack memory, this completely breaks my code under win32. A solution would be greatly appreciated. --downs
Created attachment 224 [details] Add code to handle the filename=null case
Created attachment 225 [details] Added code to handle a null hFile in the destructor
Fixed dmd 1.028 and 2.012
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル