Mike Hearn mh@codeweavers.com writes:
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?
Probably 3), but I don't think you want to start with the glibc code, it's fairly ugly code, with many dependencies on glibc internals and gcc-specific things. Hopefully we can find a more portable implementation somewhere else.