1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/net/py-xmlrpc/files/patch-src_rpcUtils.c
2009-06-17 06:57:01 +00:00

15 lines
318 B
C

$FreeBSD$
--- src/rpcUtils.c.orig
+++ src/rpcUtils.c
@@ -276,7 +280,7 @@
double d;
d = PyFloat_AS_DOUBLE(value);
- snprintf(buff, 255, "%f", d);
+ snprintf(buff, 255, "%.17f", d);
if ((buffConstant(sp, "<double>") == NULL)
or (buffConcat(sp, buff) == NULL)
or (buffConstant(sp, "</double>") == NULL))