- Most of fsm doesnt need the actual transaction set for anything "real"
and dragging it around as a mere statistics collector seems
pretty dumb. If we want better statistics, we better come up with
a saner way to gather them.
exit:
if (wfd) {
int myerrno = errno;
- rpmswAdd(rpmtsOp(fsmGetTs(fsm), RPMTS_OP_DIGEST),
- fdOp(wfd, FDSTAT_DIGEST));
Fclose(wfd);
errno = myerrno;
}
if (rfd) {
/* preserve any prior errno across close */
int myerrno = errno;
- rpmswAdd(rpmtsOp(fsmGetTs(fsm), RPMTS_OP_DIGEST),
- fdOp(rfd, FDSTAT_DIGEST));
Fclose(rfd);
errno = myerrno;
}