[LLVMdev] [PATCH] sys::fs::can_read() and sys::fs::can_write() for Unix

Liam Staskawicz lstask at gmail.com
Sun Feb 27 22:51:37 PST 2011


Hi - the attached patch provides implementations and tests for sys::fs::can_read() and sys::fs::can_write() for Unix. These were adapted from the previous implementations in lib/Support/Unix/Path.inc. can_execute() could be implemented quite similarly, but I wasn't sure where the best place to add a test for it would be, so left it out for now.

Thanks,
Liam

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110227/7c775f97/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pathsupport.diff
Type: application/octet-stream
Size: 1687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110227/7c775f97/attachment.obj>


More information about the llvm-dev mailing list