]> git.ipfire.org Git - thirdparty/gcc.git/commit
mkstemps.c (mkstemps): If open failed with errno other than EEXIST, return immediately.
authorDenys Vlasenko <dvlasenk@redhat.com>
Thu, 31 Jul 2008 18:56:35 +0000 (18:56 +0000)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 31 Jul 2008 18:56:35 +0000 (20:56 +0200)
commita23eb008dc764028d758ef589f67aa822a2a81e1
tree045aa0e1e55c97d4b396045787792803939cc6a8
parent93cc82d1f3d649ad736c07396f711c9f09e67dbd
mkstemps.c (mkstemps): If open failed with errno other than EEXIST, return immediately.

* mkstemps.c (mkstemps): If open failed with errno other than
EEXIST, return immediately.
* make-temp-file.c: Include errno.h.
(make_temp_file): If mkstemps failed, print an error message
before aborting.

From-SVN: r138429
libiberty/ChangeLog
libiberty/make-temp-file.c
libiberty/mkstemps.c