mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
d0ec7bda58
PORTREVISION.
15 lines
318 B
C
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))
|