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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue