uclibc and libstdc++ and tmpnam
Jonathan Wakely
jwakely.gcc@gmail.com
Thu Jan 23 19:36:00 GMT 2014
On 23 January 2014 19:32, Steve Ellcey wrote:
>
> I tried pinging Bernhard about this patch but didn't hear back, would
> it be OK for me to check this in on his behalf? The only change I
> made to his patch was to use tmpnam(NULL) in GLIBCXX_CHECK_TMPNAM
> instead of tmpnam("NULL"). I think that makes more sense since tmpnam
> is going to try and write to the buffer that you pass it as an argument
> (if it is not null) and so passing a constant string does not make
> sense. I tested it with my mips-mti-linux-gnu target and made sure that
> tmpnam was found when using glibc and not found with uclibc and that
> both builds worked.
That sounds good, please go ahead and commit your updated patch.
Thanks for chasing it up.
More information about the Libstdc++
mailing list