[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/2876] [Build] "Dangerous" mktemp warning
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/2876] [Build] "Dangerous" mktemp warning |
Date: |
13 Oct 2006 10:14:11 -0000 |
------- Additional Comments From nickc at redhat dot com 2006-10-13 10:14
-------
Hi Robert,
Thanks for the patch. I have tidied it up slightly and applied it along with
this ChangeLog entry.
Cheers
Nick
binutils/ChangeLog
2006-10-13 Robert Connolly <address@hidden>
PR binutils/2876
* configure.in: Check for the mkstemp and mkdtemp functions.
* configure: Regenerate.
* config.in (HAVE_MKDTEMP): New potential define.
(MAKE_MKSTEMP): Likewise.
* bucomm.c (make_tempname): Use mkstemp if it is available.
(make_tempdir): New function: Create a temporary directory using
mkdtemp, if it is available.
* bucomm.h (make_tempdir): New prototype.
* objcopy.c (copy_archive): Use make_tempdir if it is available.
(strip_main): Produce an warning message if a temporary file could
not be created.
(copy_main): Likewise.
* ar.c (write_archive): Likewise.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=2876
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.