* bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
authorAlan Modra <amodra@gmail.com>
Wed, 10 Jan 2007 13:36:34 +0000 (13:36 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 10 Jan 2007 13:36:34 +0000 (13:36 +0000)
commit485be063485746449d56642a4ed73b18dce247a4
tree3e922ec22ce525f7fecd4ad59b67c93b640690bf
parent20ac0504943144239f1cabbed69573dc6b97c99c
* bucomm.h (make_tempdir): Declare independently of HAVE_MKDTEMP.
* bucomm.c (template_in_dir): New function, split out from..
(make_tempname): ..here.  Open the file with O_EXCL if !HAVE_MKSTEMP.
(make_tempdir): Use template_in_dir.  Handle directory creation
when !HAVE_MKDTEMP.
* objcopy.c (MKDIR): Don't define.
(copy_archive): Use make_tempdir when !HAVE_MKDTEMP too.  Fix
error message.
binutils/ChangeLog
binutils/bucomm.c
binutils/bucomm.h
binutils/objcopy.c
This page took 0.028966 seconds and 4 git commands to generate.