Changeset: 59ea64379eeb for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/59ea64379eeb
Modified Files:
clients/mapiclient/mclient.c
Branch: Aug2024
Log Message:
If syscall fails (which it won't), print message.
diffs (13 lines):
diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -3223,7 +3223,8 @@ putfile(void *data, const char *filename
close_stream(priv->f);
priv->f = NULL;
if (fname) {
- (void) MT_remove(fname);
+ if (MT_remove(fname) < 0)
+ perror(fname);
free(fname);
}
if (filename == NULL)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]