By default, three digit exponents are printed on Windows.
Many unit tests in Open vSwitch expect two digit exponents.

Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
---
 lib/util.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/util.c b/lib/util.c
index 60ec5bc..01ba6bc 100644
--- a/lib/util.c
+++ b/lib/util.c
@@ -460,6 +460,7 @@ set_program_name__(const char *argv0, const char *version, 
const char *date,
     size_t max_len = strlen(argv0) + 1;
 
     SetErrorMode(GetErrorMode() | SEM_NOGPFAULTERRORBOX);
+    _set_output_format(_TWO_DIGIT_EXPONENT);
 
     if (program_name) {
         free(program_name);
-- 
1.7.9.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to