Message232755
That was actually my first hack and it also works. The fundamental problem here is that GetLastError() is not actually meant to indicate *whether* an error has occurred, but when one has occurred it describes what it was.
Indeed, in this case no error has occurred - CreateFileMapping was called and there is a file mapping available. OpenFileMapping is provided if an error is required when the mapping does not already exist.
The best option is definitely a separate method (or parameter) on mmap to open/raise rather than open/create. I may just comment out the assertion with a reference to this bug in the meantime, so that the buildbots aren't getting stuck every time. |
|
Date |
User |
Action |
Args |
2014-12-16 18:39:08 | steve.dower | set | recipients:
+ steve.dower, pitrou, tim.golden, jnoller, sbt, zach.ware |
2014-12-16 18:39:08 | steve.dower | set | messageid: <1418755148.37.0.944597712753.issue23060@psf.upfronthosting.co.za> |
2014-12-16 18:39:08 | steve.dower | link | issue23060 messages |
2014-12-16 18:39:08 | steve.dower | create | |
|