mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-16 06:15:08 -05:00
Reverted the "out of memory" error to 1 to prevent API changes.
This should be changed later, or at least everything fixed up. Typically a 1 return indicates "an error occured" and some functions still might just return error on failure.
This commit is contained in:
parent
93311212bd
commit
a719484f1e
@ -398,7 +398,7 @@ char *alpm_get_sha1sum(char *name);
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
extern enum __pmerrno_t {
|
extern enum __pmerrno_t {
|
||||||
PM_ERR_MEMORY = 2,
|
PM_ERR_MEMORY = 1,
|
||||||
PM_ERR_SYSTEM,
|
PM_ERR_SYSTEM,
|
||||||
PM_ERR_BADPERMS,
|
PM_ERR_BADPERMS,
|
||||||
PM_ERR_NOT_A_FILE,
|
PM_ERR_NOT_A_FILE,
|
||||||
|
Loading…
Reference in New Issue
Block a user