ports/net/py-xmlrpc/files/patch-src_rpcUtils.c
Mathieu Arnold 6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00

11 lines
306 B
C

--- 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))