On 5/26/2010 7:21 AM, dsource.org wrote:
> phobos commit, revision 1560
> 
> 
> user: rsinfu
> 
> msg:
> Fixed bugzilla 4188: std.file.remove throws Exception on success.
> 
> cenforce() used getErrno(), not GetLastError(), for errors happened in Win32 
> API.
> 
> http://www.dsource.org/projects/phobos/changeset/1560

This change seems wrong.

Is there a use of cenforce that's wrong?  Does the inclusion of getErrno need to
be conditional on something?

Pure removal of the call to getErrno removes important error text that's useful
in many contexts.

- Brad
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to