lidavidm commented on code in PR #587:
URL: https://github.com/apache/arrow-adbc/pull/587#discussion_r1179873958


##########
c/driver/common/utils.c:
##########
@@ -138,11 +138,11 @@ int StringBuilderAppend(struct StringBuilder* builder, 
const char* fmt, ...) {
   va_end(argptr);
 
   if (n < 0) {
-    return -1;
+    return errno;

Review Comment:
   Hmm, my manpage on macOS doesn't mention errno at all.
   
   Ah, but it does mention specific _codes_ without explicitly mentioning 
errno. OK, this is fine then. Sorry!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to