commit - 2161bc24065b9b58f71cbffbb8b65a9546e134f2
commit + ac4f092c7c8e090ee733c90b8b0f0274872c8662
blob - 60f06c7355f84cc81697802f90406ad3939a5071
blob + 7d479df74800ae6ac1809d68db5f4d54482efd23
--- lib/privsep.c
+++ lib/privsep.c
return got_error_from_errno("imsg_add RAW_OBJECT");
}
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
-
return flush_imsg(ibuf);
}
if (imsg_add(wbuf, name, name_len) == -1)
return got_error_from_errno("imsg_add FETCH_HAVE_REF");
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
err = flush_imsg(ibuf);
if (err)
return got_error_from_errno(
"imsg_add FETCH_WANTED_BRANCH");
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
err = flush_imsg(ibuf);
if (err)
return got_error_from_errno(
"imsg_add FETCH_WANTED_REF");
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
err = flush_imsg(ibuf);
if (err)
if (imsg_add(wbuf, name, name_len) == -1)
return got_error_from_errno("imsg_add SEND_REF");
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
return flush_imsg(ibuf);
}
return got_error_from_errno("imsg_add TREE_ENTRY");
}
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
return NULL;
}
return got_error_from_errno("imsg_add "
"COMMIT_TRAVERSAL_REQUEST");
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
-
return flush_imsg(ibuf);
}
if (imsg_add(wbuf, path, path_len) == -1)
return got_error_from_errno("imsg_add ENUMERATED_TREE");
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
if (entries) {
if (imsg_add(wbuf, &mtime, sizeof(mtime)) == -1)
return got_error_from_errno("imsg_add ENUMERATED_COMMIT");
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
/* Don't flush yet, tree entries or ENUMERATION_DONE will follow. */
return NULL;
return got_error_from_errno("imsg_add OBJ_ID_LIST");
}
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
return flush_imsg(ibuf);
return got_error_from_errno("imsg_add REUSED_DELTAS");
}
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
return flush_imsg(ibuf);
got_object_qid_free(qid);
}
- wbuf->fd = -1;
imsg_close(ibuf, wbuf);
-
return flush_imsg(ibuf);
}