sysdeps/posix/tempname.c: Merge from gnulib
authorWill Newton <will.newton@linaro.org>
Tue, 24 Jun 2014 13:19:36 +0000 (14:19 +0100)
committerWill Newton <will.newton@linaro.org>
Wed, 25 Jun 2014 09:52:51 +0000 (10:52 +0100)
commitc7aec4beb13f125948884d80158f11c34239c61f
tree14fb1b6990612818ef0ef2ae6ef00e73a2ed111f
parentc5241f9575dd89ce6714963ecb3a114ece13f1a7
sysdeps/posix/tempname.c: Merge from gnulib

Partial merge from gnulib which fixes a number of -Wundef warnings.
The parts that differ from gnulib are the header comment, use of
__glibc_unlikely, a #define of __secure_getenv and the use of tabs.
The majority of the patch is cosmetic comment changes, the only runtime
change is an abort if an unknown kind is passed to __gen_tempname.

ChangeLog:

2014-06-25  Will Newton  <will.newton@linaro.org>

* sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
comment changes throughout the file.  Remove checks
for HAVE_*_H definitions that are not required.
(__gen_tempname): Call abort if an unknown kind value is
passed.
ChangeLog
sysdeps/posix/tempname.c