This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] temporary file handling
On Tue, Oct 12, 2010 at 08:45:48AM +0200, Tristan Gingold wrote:
>
> On Oct 11, 2010, at 5:08 AM, Alan Modra wrote:
> >
> > Possible free(NULL) here and in make_tempdir, which may crash on some
> > older implementations of free. We seem to worry about that
> > possibility elsewhere in binutils.
>
> Side question: we currently assume ISO-C (aka ANSI-C) compiler. Don't we also assume ANSI-C library ?
I didn't want to set that policy, which is why I mentioned free(0).
Nowadays, it probably would be quite a reasonable requirement.
--
Alan Modra
Australia Development Lab, IBM