]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/bucomm.h
PR binutils/2876
authorNick Clifton <nickc@redhat.com>
Fri, 13 Oct 2006 09:43:29 +0000 (09:43 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 13 Oct 2006 09:43:29 +0000 (09:43 +0000)
commitf9c026a85b129328be8ed9ce74f19fc0065454be
tree399caa063a9877ae0a03737895cb45214ca6a9d2
parentec6e49f44cf16f200634edd04c6e55ab0e2436b0
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
  (copy_main): Likewise.
* ar.c (write_archive): Likewise.
binutils/ChangeLog
binutils/ar.c
binutils/bucomm.c
binutils/bucomm.h
binutils/config.in
binutils/configure
binutils/configure.in
binutils/objcopy.c