[phobos] phobos commit, revision 1560

Brad Roberts braddr at puremagic.com
Wed May 26 20:59:59 PDT 2010


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


More information about the phobos mailing list