[ovs-dev] [PATCH] util: New wrapper function ovs_vsnprintf().

2013-12-19 Thread Saurabh Shah
So that vsnprintf on windows has C99 like semantics. Signed-off-by: Saurabh Shah --- lib/command-line.c |2 +- lib/dynamic-string.c |4 ++-- lib/util.c | 18 -- lib/util.h |1 + 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/li

Re: [ovs-dev] [PATCH] util: New wrapper function ovs_vsnprintf().

2013-11-18 Thread Ben Pfaff
On Mon, Nov 18, 2013 at 12:51 PM, Saurabh Shah wrote: > > Ben wrote: > > 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' modifie

Re: [ovs-dev] [PATCH] util: New wrapper function ovs_vsnprintf().

2013-11-18 Thread Saurabh Shah
Ben wrote: 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? On Mon, Nov 18, 2013 at 0

Re: [ovs-dev] [PATCH] util: New wrapper function ovs_vsnprintf().

2013-11-18 Thread Ben Pfaff
Ben wrote: > 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? On Mon, Nov

Re: [ovs-dev] [PATCH] util: New wrapper function ovs_vsnprintf().

2013-11-18 Thread Saurabh Shah
From: Ben Pfaff mailto:b...@nicira.com>> Date: Friday, November 15, 2013 9:07 AM To: Saurabh Shah mailto:ssaur...@nicira.com>> Cc: "dev@openvswitch.org<mailto:dev@openvswitch.org>" mailto:dev@openvswitch.org>> Subject: Re: [ovs-dev] [PATCH] util: New wrapper

Re: [ovs-dev] [PATCH] util: New wrapper function ovs_vsnprintf().

2013-11-15 Thread Ben Pfaff
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 Microsoft documentation is just hilarious: vsnprintf is included for compliance to the ANSI standard; ... But I guess this wrapper won't help

Re: [ovs-dev] [PATCH] util: New wrapper function ovs_vsnprintf().

2013-11-14 Thread Saurabh Shah
Sorry for the out-of-sync date. My ubuntu VM is misbehaving. Thanks! Saurabh From: Saurabh Shah mailto:ssaur...@nicira.com>> Date: Wednesday, November 13, 2013 6:55 PM To: "dev@openvswitch.org<mailto:dev@openvswitch.org>" mailto:dev@openvswitch.org>> Subject: [ovs-de

[ovs-dev] [PATCH] util: New wrapper function ovs_vsnprintf().

2013-11-14 Thread Saurabh Shah
So that vsnprintf on windows has C99 like semantics. Signed-off-by: Saurabh Shah --- lib/command-line.c |2 +- lib/dynamic-string.c |4 ++-- lib/util.c | 18 -- lib/util.h |1 + 4 files changed, 20 insertions(+), 5 deletions(-) diff --git a/li