vsnprintf: glibc and win32 not compatible

Ryan Underwood nemesis-lists at icequake.net
Mon Mar 8 12:48:02 CST 2004


On Mon, Mar 08, 2004 at 10:48:31AM +0000, Mike Hearn wrote:
> On Sun, 07 Mar 2004 19:32:39 -0700, Jesse Allen wrote:
> > 1)  Create our own vsnprintf version from scratch   (fairly difficult)
> > or
> > 2)  Create a wrapper for glibc's vsnprintf that translates win32ish format
> > statements into a glibc friendly one.  (not too bad and smaller patch)  We 
> > could later move in a better or complete version to improve performance.
> 
> 3) Copy/paste the glibc version into Wine with appropriate munging and
> start fixing bugs in it.
> 
> No clue which is best. Alexandre?

Newlib has vsnprintf and is BSD-licensed.  This might be more convenient
for inclusion into WINE.

newlib/newlib/libc/stdio/vsnprintf.c

-- 
Ryan Underwood, <nemesis at icequake.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040308/26704c63/attachment.pgp


More information about the wine-devel mailing list