Re: C# binding broken?

Pellaeon <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel
Message-ID <[email protected]>
Hi,

I translated your rrd_binding_test.cs to a C++ console application and still
get the same error in the restore function. In fact, there is one more
error:

test_a.rrd: illegal attempt to update using time 920804700 when last update
time is 920808900 (minimum one second step)

in the "rrd_last_r" function. Failure in the data? Or in my C++ code?
After this the utf error sill occurs.

Then I found a bug in the binding. You pass two parameters to the
"rrd_last_r" function, but the rrdlib function only expects one! -> "time_t   
rrd_last_r (const char *filename);"

Best regards

Pellaeon


--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/C-binding-broken-tp6275701p6286436.html
Sent from the RRDtool Developers Mailinglist mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.