PCH merge: bootstrap failure, gengtype consumes all file descriptors

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Wed Jun 12 08:09:00 GMT 2002


 > 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



More information about the Gcc-bugs mailing list