mirror of
https://gitlab.archlinux.org/pacman/pacman.git
synced 2025-11-21 09:24:40 +01:00
Compare commits
1 Commits
allan/spli
...
morganamil
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7689fc040 |
@@ -270,7 +270,6 @@ int SYMEXPORT alpm_trans_release(alpm_handle_t *handle)
|
|||||||
|
|
||||||
trans = handle->trans;
|
trans = handle->trans;
|
||||||
ASSERT(trans != NULL, RET_ERR(handle, ALPM_ERR_TRANS_NULL, -1));
|
ASSERT(trans != NULL, RET_ERR(handle, ALPM_ERR_TRANS_NULL, -1));
|
||||||
ASSERT(trans->state != STATE_IDLE, RET_ERR(handle, ALPM_ERR_TRANS_NULL, -1));
|
|
||||||
|
|
||||||
int nolock_flag = trans->flags & ALPM_TRANS_FLAG_NOLOCK;
|
int nolock_flag = trans->flags & ALPM_TRANS_FLAG_NOLOCK;
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,7 @@
|
|||||||
#include "alpm.h"
|
#include "alpm.h"
|
||||||
|
|
||||||
typedef enum _alpm_transstate_t {
|
typedef enum _alpm_transstate_t {
|
||||||
STATE_IDLE = 0,
|
STATE_INITIALIZED = 0,
|
||||||
STATE_INITIALIZED,
|
|
||||||
STATE_PREPARED,
|
STATE_PREPARED,
|
||||||
STATE_DOWNLOADING,
|
STATE_DOWNLOADING,
|
||||||
STATE_COMMITTING,
|
STATE_COMMITTING,
|
||||||
|
|||||||
Reference in New Issue
Block a user