PCH merge: bootstrap failure, gengtype consumes all file descriptors
Geoff Keating
geoffk@geoffk.org
Wed Jun 12 13:02:00 GMT 2002
> Date: Wed, 12 Jun 2002 10:44:32 -0400 (EDT)
> From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
> Cc: gcc-bugs@gcc.gnu.org, gcc@gcc.gnu.org, geoffk@redhat.com
>
> > From: Zack Weinberg <zack at codesourcery dot com>
> >
> > The glibc obstack_printf knows stdio internals, so we can't just steal
> > it, but I think a portable implementation should be doable. It's easy
> > on a system with C99-compliant snprintf, and somewhat harder
> > elsewhere.
> > zw
>
> It should be easy to write an snprintf.c replacement in libiberty
> using a combination of vasprintf, strncpy, free. Right?
We can use vasprintf? Great! I'd forgotten that libiberty had an
emulation.
That makes things much easier. I will produce a patch that uses
memory for the temporary files.
--
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>
More information about the Gcc-bugs
mailing list