Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 11:39:57 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Garrett Cooper <gcooper@freebsd.org>, freebsd-toolchain@FreeBSD.org, David Chisnall <David.Chisnall@cl.cam.ac.uk>
Subject:   Re: LLVM bug WRT temporary files?
Message-ID:  <40172155-0743-4980-AAF1-2FF8C79A0504@FreeBSD.org>
In-Reply-To: <B85C8C9A-C428-4B59-9D92-D1309A7E7C64@xcllnt.net>
References:  <21FB3229-E39C-424C-B18A-DD5932A32885@xcllnt.net> <9DFFC955-D1BB-47CB-9AF9-03A5DC93958A@cl.cam.ac.uk> <EAC95DE1-AA26-48E7-B470-0EBE44C337F4@xcllnt.net> <A933539B-CE71-4245-BF24-99C26A71D8E2@xcllnt.net> <B85C8C9A-C428-4B59-9D92-D1309A7E7C64@xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_FF549C5F-4257-405A-AEA3-E99DE95B1D2F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 13 Feb 2014, at 19:33, Marcel Moolenaar <marcel@xcllnt.net> wrote:
>=20
> On Feb 13, 2014, at 9:56 AM, Marcel Moolenaar <marcel@xcllnt.net> =
wrote:
...
>> On Feb 13, 2014, at 9:44 AM, Marcel Moolenaar <marcel@xcllnt.net> =
wrote:
>>=20
>>>=20
>>> On Feb 13, 2014, at 9:42 AM, David Chisnall =
<David.Chisnall@cl.cam.ac.uk> wrote:
>>>=20
>>>> This looks like a bug, please file an llvm PR.  The offending code =
seems to be createUniqueEntity() in lib/Support/Unix/Path.inc, which =
does... something.  Something weird and convoluted that seems to try to =
implement mkstemp() / mkdtemp() in an incomprehensible way.
>>>=20
>>> Will do. Thanks David,
>>=20
>> While filing a LLVM bug, Bugzilla showed 13511 as a dup. That
>> bug seems to have been fixed in SVN.
>>=20
>> I'll file a FreeBSD PR instead to track the import of that fix.
>> Although gcooper@ may have done that already? Garrett?
>=20
> I don't seem to be able to file a PR, because the security code
> is not accepted. Please remember it instead :-)

Unfortunately the PR does not contain the exact revision it was fixed.
There was a big cleanup in the file/path management code just after 3.3
was released, so as the PR says, it is gone after that.

Since I'm going to import clang 3.4 Real Soon Now, that should fix the
issue.

-Dimitry


--Apple-Mail=_FF549C5F-4257-405A-AEA3-E99DE95B1D2F
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlL98oIACgkQsF6jCi4glqN4OgCeOXvxMztK06ZQJw+CJTphMGJG
1JAAoM24/ulGujXdeQD4sI7Zy30Zj7ym
=3Nr8
-----END PGP SIGNATURE-----

--Apple-Mail=_FF549C5F-4257-405A-AEA3-E99DE95B1D2F--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40172155-0743-4980-AAF1-2FF8C79A0504>