xbps-{bin,repo}: use static const tables to parse objs in XBPS_PKGPROPS files.

This commit is contained in:
Juan RP
2011-01-26 16:34:26 +01:00
parent ac6fe51340
commit bc259ae720
4 changed files with 170 additions and 104 deletions

View File

@ -1,5 +1,5 @@
/*-
* Copyright (c) 2008-2010 Juan Romero Pardines.
* Copyright (c) 2008-2011 Juan Romero Pardines.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -43,7 +43,7 @@ show_pkg_info_from_metadir(const char *pkgname)
if (d == NULL)
return errno;
show_pkg_info(d);
show_pkg_info(d, false);
prop_object_release(d);
return 0;