On Fri, 2010-08-20 at 03:01 -0700, Luca Barbieri wrote: > I pushed a new version as debug-refcnt-2, which uses os_stream instead of > FILE*. > A new commit adds a printf facility to os_stream to support this. > > It still uses the sprintf functions from stdio.h, but I suppose this is OK. > If a platform doesn't have those, they can be taken from a BSD libc > (or gnulib, glibc, Linux/BSD kernels, etc.).
Hasn't this already happened somewhere - util/u_snprintf.c ? Keith _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev