[LLVMdev] Path.cpp patch to lib/System/Interix

Reid Spencer reid at x10sys.com
Sun Sep 19 11:17:41 PDT 2004


Henrik,

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.

Reid.

On Sun, 2004-09-19 at 05:49, Henrik Bach wrote:
> Hi,
> 
> Just a minor fix to get Path.cpp to compile on Interix.
> 
> Henrik
> 
> _________________________________________________________________
> Find det, du sger med MSN Sg http://search.msn.dk/
> 
> ______________________________________________________________________
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040919/6269bd20/attachment.sig>


More information about the llvm-dev mailing list