From 485be063485746449d56642a4ed73b18dce247a4 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 10 Jan 2007 13:36:34 +0000 Subject: * 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'binutils/ChangeLog') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index be0122b..f5d49e4 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,14 @@ +2007-01-11 Alan Modra + + * 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. + 2007-01-08 Kazu Hirata * readelf.c (get_machine_flags): Treat Fido as an architecture -- cgit v1.1