From: bors Date: Sat, 11 Jul 2015 00:01:51 +0000 (+0000) Subject: Auto merge of #26941 - fhartwig:osx-file-debug, r=alexcrichton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=98dcd5e10aba490286abcae81b971a0206a9fd47;p=rust.git Auto merge of #26941 - fhartwig:osx-file-debug, r=alexcrichton 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. --- 98dcd5e10aba490286abcae81b971a0206a9fd47