aboutsummaryrefslogtreecommitdiff
path: root/backend/session/direct-freebsd.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-06-16 10:19:34 +0300
committerDrew DeVault <sir@cmpwn.com>2019-06-16 10:51:49 -0400
commit33127c545be731e373a9e4ccd38cd03da479c10f (patch)
tree6a0b5d7de7309bdfc01c323e13fe5f888834922d /backend/session/direct-freebsd.c
parent06a13203ddb9c085b1e514b09b424c19f058fd8d (diff)
output: reset the pending state on failed commit
It can be surprising for callers to stash pending changes, commit, get a failure, then set some other pending changes, commit again, and get another failure because of the previously-pending changes. Instead, make commit reset the pending state on failure.
Diffstat (limited to 'backend/session/direct-freebsd.c')
0 files changed, 0 insertions, 0 deletions