[llvm-commits] [llvm] r139928 - /llvm/trunk/lib/Support/PathV2.cpp
Bill Wendling
wendling at apple.com
Fri Sep 16 12:56:51 PDT 2011
On Sep 16, 2011, at 11:36 AM, Eli Friedman wrote:
> Author: efriedma
> Date: Fri Sep 16 13:36:31 2011
> New Revision: 139928
>
> URL: http://llvm.org/viewvc/llvm-project?rev=139928&view=rev
> Log:
> Fix a minor bug in fs::create_directories. Patch by Albert Wong.
>
What was the bug?
-bw
>
> Modified:
> llvm/trunk/lib/Support/PathV2.cpp
>
> Modified: llvm/trunk/lib/Support/PathV2.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/PathV2.cpp?rev=139928&r1=139927&r2=139928&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Support/PathV2.cpp (original)
> +++ llvm/trunk/lib/Support/PathV2.cpp Fri Sep 16 13:36:31 2011
> @@ -656,7 +656,7 @@
> if (error_code ec = fs::exists(parent, parent_exists)) return ec;
>
> if (!parent_exists)
> - return create_directories(parent, existed);
> + if (error_code ec = create_directories(parent, existed)) return ec;
>
> return create_directory(p, existed);
> }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list