From 0c52d41e954e7fa83a9bb863557e00d53f9a013f Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 17 Dec 2013 17:41:13 -0600 Subject: [PATCH] db/test: Tell Win32 to only print 2-digit exponents By default the MS libraries print 3-digit exponents, whereas the ANSI standard is for 2-digits. --- src/ioc/db/test/chfPluginTest.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ioc/db/test/chfPluginTest.c b/src/ioc/db/test/chfPluginTest.c index c5e142849..b62d2f491 100644 --- a/src/ioc/db/test/chfPluginTest.c +++ b/src/ioc/db/test/chfPluginTest.c @@ -479,6 +479,10 @@ MAIN(chfPluginTest) dbChannel *pch; db_field_log *pfl; +#ifdef WIN32 + _set_output_format(_TWO_DIGIT_EXPONENT); +#endif + testPlan(1351); dbChannelInit();