Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 66 by zach.mayer: Remove snprintf calls
https://code.google.com/p/rpostgresql/issues/detail?id=66
RS-pgsql-pqexec.c, line 90:
snprintf(errResultMsg, len + 80, "could not Retrieve the result : %s",
omsg);
Use of snprintf and printf is a serious problem in an R package as it
generates output bypasses the R session completely and therefore cannot be
suppressed, captured, or handled as an error.
It would be far better to promote these errors to R "messages", "warnings"
or "errors" so they can be handled appropriately by the R session.
At the very least, removing this line would be a good start.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings