- This bogosity goes back to commit
fcf6b50378eaeac4c1f7ca215b33586b4d41072f
which was supposed to fix files getting erased if time() returns
errors (RhBug:223931). Problem is, this "fix" didn't fix anything
at all as the suffix still wouldn't be created in the error
case, even if the FSM_UNDO part did the right thing. We always
want a suffix on installs, it doesn't matter *what* the suffix is.
memset(fsm->sufbuf, 0, sizeof(fsm->sufbuf));
if (fsm->goal == FSM_PKGINSTALL) {
- if (ts && rpmtsGetTid(ts) != (rpm_tid_t)-1)
- sprintf(fsm->sufbuf, ";%08x", (unsigned)rpmtsGetTid(ts));
+ sprintf(fsm->sufbuf, ";%08x", (unsigned)rpmtsGetTid(ts));
}
ec = fsm->rc = 0;