From: Ben Pfaff <[email protected]<mailto:[email protected]>> Date: Friday, November 15, 2013 9:07 AM To: Saurabh Shah <[email protected]<mailto:[email protected]>> Cc: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: [ovs-dev] [PATCH] util: New wrapper function ovs_vsnprintf().
On Wed, Nov 13, 2013 at 06:55:26PM -0800, Saurabh Shah wrote: So that vsnprintf on windows has C99 like semantics. Signed-off-by: Saurabh Shah <[email protected]<mailto:[email protected]>> Microsoft documentation is just hilarious: vsnprintf is included for compliance to the ANSI standard; ... But I guess this wrapper won't help much because the MS libc doesn't support, for example, the 'z' modifier. What's your plan for dealing with that? I was hoping we can just print with a larger length specifier. '%z' will there have to be disallowed and an appropriate signed/unsigned specifier should be used instead. Do you think that would be OK? If not, there are only a handful of places where we use vsnprintf()'s, so I could #ifdefs the code.
_______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
