[v3 patch] Fix some Filesystem TS operations

Jonathan Wakely jwakely@redhat.com
Wed May 20 17:28:00 GMT 2015

On 15/05/15 19:37 +0100, Jonathan Wakely wrote:
>Testing revealed a few bugs in how I handled paths that don't exist.
>The new __gnu_test::nonexistent_path() function is a bit hacky but
>should be good enough for the testsuite.

This makes it even hackier but avoids linker warnings for using the
evil tempnam() function.

I know it should use snprintf not sprintf, but that depends on
_GLIBCXX_USE_C99 which may not be defined (because we incorrectly test
for a C99 lib using -std=gnu++98, which I'm going to fix).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1141 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20150520/2e2d9546/attachment.bin>

More information about the Libstdc++ mailing list