Be a bit more relaxed about obsoleted mktemp symbol.

This commit is contained in:
Ulrich Drepper 2010-01-13 07:15:17 -08:00
parent 2e3e1b3309
commit 52e96a8092
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-01-13 Ulrich Drepper <drepper@redhat.com>
* stdlib/stdlib.h: Be a bit more relaxed about obsoleted mktemp symbol.
2010-01-12 Ulrich Drepper <drepper@redhat.com> 2010-01-12 Ulrich Drepper <drepper@redhat.com>
* conform/data/complex.h-data: Test for POSIX2008. * conform/data/complex.h-data: Test for POSIX2008.

View File

@ -597,8 +597,8 @@ extern int clearenv (void) __THROW;
#endif #endif
#if ((defined __USE_MISC || defined __USE_XOPEN_EXTENDED) \ #if defined __USE_MISC \
&& !defined __USE_XOPEN2K) || defined __USE_GNU || (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K)
/* Generate a unique temporary file name from TEMPLATE. /* Generate a unique temporary file name from TEMPLATE.
The last six characters of TEMPLATE must be "XXXXXX"; The last six characters of TEMPLATE must be "XXXXXX";
they are replaced with a string that makes the file name unique. they are replaced with a string that makes the file name unique.