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:
Aaron Griffin 2006-10-21 21:30:43 +00:00
parent 93311212bd
commit a719484f1e
1 changed files with 1 additions and 1 deletions

View File

@ -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,