ALPM

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

* Release 3.04

Bugfix for DB::groups infinite while loop.

Fixed by Andrew Gregory. Thank you!

* Release 3.03

ALPM::strerror had been typo-ed as the old ALPM::alpm_strerror in 03-Package.t.
This was preventing errors from being displayed! The package format had been
updated slightly, preventing the custom built packages from generating and
loading properly.

Reported by Stefan Majewsky. Thank you!

* Release 3.02

** Bugfix for find_satisfier and find_dbs_satisfier.

These two functions were causing crashes because of my misuse of a macro
that was screwing up the perl stack.

xs/DB.xs  view on Meta::CPAN


int
update(db)
	ALPM_SyncDB db
 PREINIT:
	int ret;
 CODE:
	ret = alpm_db_update(0, db);
	switch(ret){
	case 0: RETVAL = 1; break;
	case 1: RETVAL = -1; break; /* DB did not need to be updated */
	case -1: RETVAL = 0; break;
	default: croak("Unrecognized return value of alpm_db_update");
	}
 OUTPUT:
	RETVAL

negative_is_error
force_update(db)
	ALPM_SyncDB db
 CODE:



( run in 0.258 second using v1.01-cache-2.11-cpan-05444aca049 )