This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PCH merge: bootstrap failure, gengtype consumes all file descriptors


 > 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?

In fact, I just did it.  Patch pending.

		--Kaveh
--
Kaveh R. Ghazi			Director of Systems Architecture
ghazi@caip.rutgers.edu		Qwest Solutions


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]