Just port of libstdc++'s fix to libc++ fs: https://github.com/gcc-mirror/gcc/commit/e6ac4004fe49d785c63bf87aec4b095b5ce1d19f
Author of fix: Jonathan Wakely
Differential D46593
Allow copy elision in path concatenation xbolva00 on May 8 2018, 11:28 AM. Authored by
Details Just port of libstdc++'s fix to libc++ fs: https://github.com/gcc-mirror/gcc/commit/e6ac4004fe49d785c63bf87aec4b095b5ce1d19f Author of fix: Jonathan Wakely
Diff Detail
Event TimelineComment Actions Generating the patch from libc++ is fine (and this patch looks like it has sane paths). Comment Actions Sorry folks, but you can't just take patches to libstdc++ and apply them to libc++. These libraries have different licenses, and so the author of the patch (Jonathan Wakely in this case) need's to *explicitly* contribute that patch to libc++ under libc++'s license. (Or potentially an employer who owns the rights to it.) So this needs to be reverted, or Jonathan needs to hop on this thread and very explicitly give permission to relicense this and contribute it to LLVM. Generally, I would strongly encourage the original authors making contributions as it simplifies everything. Comment Actions @chandlerc thanks for catching this. As the original author I agree to contribute this patch to libc++ under the terms of the MIT and the University of Illinois licences, and under the terms of "Apache 2 with LLVM exception" if necessary in future. This permission applies only to this patch, not any other code from GCC. Comment Actions Thanks so much for the fast response! And yeah, let's try to follow a more obvious process in the future. =D |