Changeset: 043cd0dcb303 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/043cd0dcb303
Modified Files:
tools/merovingian/daemon/merovingian.c
Branch: Jan2022
Log Message:
Merge with Jul2021 branch.
diffs (14 lines):
diff --git a/tools/merovingian/daemon/merovingian.c
b/tools/merovingian/daemon/merovingian.c
--- a/tools/merovingian/daemon/merovingian.c
+++ b/tools/merovingian/daemon/merovingian.c
@@ -144,8 +144,9 @@ logFD(dpair dp, int fd, const char *type
assert(fd == 0 || fd == 1);
do {
do {
+ ssize_t n;
repeat:
- ssize_t n = read(dp->input[fd].fd, buf + len,
sizeof(buf) - len - 1);
+ n = read(dp->input[fd].fd, buf + len, sizeof(buf) - len
- 1);
if (n <= 0)
break;
len += n;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]