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:
- 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.
- 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