Commit Graph

5 Commits

Author SHA1 Message Date
Juan RP
bf82b6512d Extensively verified that all functions have its return value
checked for any spurious error, this should make the core more safer :-)

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091123094651-5prw0bkqmt3y8h23
2009-11-23 09:46:51 +00:00
Juan RP
7aebea684b Implemented support for working with remote repositories.
libfetch from NetBSD's pkgsrc has been imported into lib/fetch, but
the objects are embedded into libxbps. Only a public function to fetch
files has been implemented: xbps_fetch_file().

The library now is built with -fvisibility=hidden by default, and
exported symbols are the ones that use the SYMEXPORT macro.

The code works well enough, but will need many more cleanups.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091027004600-0lq9aao67lisbzxv
2009-10-27 01:46:00 +01:00
Juan RP
6a855c0272 xbps_find_orphan_packages: report return value as errno in an error path.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20091023120316-om71k2rnmk4ruzh1
2009-10-23 14:03:16 +02:00
Juan RP
14c9886cfc When finding package orphans, only report those with "installed" state.
--HG--
extra : convert_revision : xtraeme%40gmail.com-20090822054123-1bud3ldgin5opbhc
2009-08-22 07:41:23 +02:00
juan
3f3b6d00dd Initial import of xbps with code as August '09.
--HG--
extra : convert_revision : juan%40xbps-20090817170720-amxxac4a2e8bza1j
2009-08-17 19:07:20 +02:00