From 54008798efcc9646f622f6b052ecd83281d57cda Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Fri, 14 Jul 2006 23:15:07 +0000 Subject: Patch from FW: Better control over CTRL-C interruptions -- do not leave the DB in an inconsistent state --- lib/libalpm/trans.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libalpm/trans.h') diff --git a/lib/libalpm/trans.h b/lib/libalpm/trans.h index 56b2e625..b60301c5 100644 --- a/lib/libalpm/trans.h +++ b/lib/libalpm/trans.h @@ -25,7 +25,9 @@ enum { STATE_IDLE = 0, STATE_INITIALIZED, STATE_PREPARED, - STATE_COMMITTED + STATE_COMMITTING, + STATE_COMMITTED, + STATE_INTERRUPTED }; #include "alpm.h" -- cgit v1.2.3-24-g4f1b