[rrd-users] CDEF,RPN, no decimal constant possible?
Peter
pspiegler at gmx.de
Fri Jul 11 00:26:28 CEST 2014
>You didn't say which version of RRDTool you're using; I'm assuming 1.4.x
Yes. I have cloned the github branch 1.4 (v 1.4.8) and compiled rrdtool and
rrdlib with Visual Studio 2013.
>The RPN parsing happens in rrd_rpncalc.c in function rpn_parse() (called by
parseCDEF_DS())
>This explicitly sets locale to be "C"; then it tries to use sscanf with
"%lf" which should
>correctly read in a decimal, regardless of your current locale using commas
as a decimal
>separator or not.
I have the source in VS2013, so I can debug the code to find the position
where the decimal conversion failed.
Peter
--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/CDEF-RPN-no-decimal-constant-possible-tp7582283p7582291.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
More information about the rrd-users
mailing list