[PATCH] libc++: Use correct mktemp template

İsmail Dönmez ismail at donmez.ws
Thu Apr 25 05:45:10 PDT 2013


Hi,

mktemp(3) on Linux needs the template as "XXXXXX" as in 6-Xs. The current
code uses 4-Xs and results in failure with fstream tests.

Attached patch fixes this, no new tests since its already covered by
fstream tests.

Regards,
ismail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130425/f7a33572/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcxx-mktemp.patch
Type: application/octet-stream
Size: 368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130425/f7a33572/attachment.obj>


More information about the cfe-commits mailing list