[llvm-commits] Small fix to fs::create_directories()
Albert Wong (王重傑)
ajwong at google.com
Thu Sep 15 19:00:41 PDT 2011
Hey all,
I found a small bug in PathV2's implementation of create_directories(). If
you try to call it with a path like /some/new/path, it will only create the
first non-existent directory due to an improper early return.
I've attached a patch with a fix. I also file a bug for it here:
http://llvm.org/bugs/show_bug.cgi?id=10940
Let me know if there are any questions.
Thanks,
Albert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110915/79b33416/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_create_directories.patch
Type: text/x-patch
Size: 879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110915/79b33416/attachment.bin>
More information about the llvm-commits
mailing list