rust/src/libstd/sys
Alex Crichton 3801c2678f rollup merge of #20231: fhahn/issue-20226-eexist
I've created a patch for #20226, which maps `EEXIST` to the `PathAlreadyExists` error on Unix. To test this, I use `mkdir`, which raises `EEXIST` if the directory already exists.

On Windows, I map `ERROR_ALREADY_EXISTS` to `PathAlreadyExist`, but I am note sure if `mkdir` on Windows raises `ERROR_ALREADY_EXISTS` and do not have a Windows installation handy for testing.

And I noticed another thing. No error seems to map to `IoErrorKind::PathDoesntExist` and I am wondering what the difference to `FileNotFound` is?
2014-12-29 16:36:12 -08:00
..
common rollup merge of #20216: sfackler/fix-mangling 2014-12-29 16:36:07 -08:00
unix rollup merge of #20231: fhahn/issue-20226-eexist 2014-12-29 16:36:12 -08:00
windows rollup merge of #20231: fhahn/issue-20226-eexist 2014-12-29 16:36:12 -08:00