* Updated the perl bindings to work with the new style extract API and removed vestigial code

* Updated the perl bindings readme.txt
* Fixed a small bug in the new bacapp_print_value() function which incorrectly interpreted the return status from the snprintf function.
This commit is contained in:
gri6507
2011-12-15 00:03:04 +00:00
parent 6e82afde79
commit fd4a0ebb62
3 changed files with 13 additions and 136 deletions
+1 -1
View File
@@ -1287,7 +1287,7 @@ bool bacapp_print_value(
// Try to extract the value into allocated memory. If unable, try again
// another time with a string that is twice as large.
status = bacapp_snprintf_value(str, str_len, object_value);
if ( (status < 0 ) || (status > str_len) )
if ( (status < 0 ) || (status >= str_len) )
{
free(str);
str_len *= 2;