mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04: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 {
|
||||
PM_ERR_MEMORY = 2,
|
||||
PM_ERR_MEMORY = 1,
|
||||
PM_ERR_SYSTEM,
|
||||
PM_ERR_BADPERMS,
|
||||
PM_ERR_NOT_A_FILE,
|
||||
|
Loading…
Reference in New Issue
Block a user