Path.cpp patch to lib/System/Interix


Just a minor fix to get Path.cpp to compile on Interix.

Henrik (463 Bytes)


Your patch won't work. On Linux the mkdtemp function creates a
directory. The mktemp(3) function doesn't create anything, it just
generates a unique file name. So, LLVM would break if I committed your
patch because the Path::GetTemporaryDirectory function is expected to
create a unique directory and set the Path object to it.