]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #26941 - fhartwig:osx-file-debug, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 11 Jul 2015 00:01:51 +0000 (00:01 +0000)
committerbors <bors@rust-lang.org>
Sat, 11 Jul 2015 00:01:51 +0000 (00:01 +0000)
This makes `Debug` for `File` show the file path and access mode of the file on OS X, just like on Linux.
I'd be happy about any feedback how to make this code better. In particular, I'm not sure how to handle the buffer passed to `fnctl`. This way works, but it feels a bit cumbersome. `fcntl` unfortunately doesn't return the length of the path.


Trivial merge