Read .PKGINFO directly from package file
commitd140b440a86cc55bec6086e8d4a4d2606ebb6d1e
authorDan McGee <dan@archlinux.org>
Thu, 27 Mar 2008 02:26:43 +0000 (26 21:26 -0500)
committerDan McGee <dan@archlinux.org>
Thu, 27 Mar 2008 17:07:32 +0000 (27 12:07 -0500)
tree3ae35adcb97468d4dd203cf6b0f151d4cc85ac36
parentf8c737d3b6b28373a69d5979a4ba2e31b77baa62
Read .PKGINFO directly from package file

With the addition of the archive_fgets() function, we can now skip the temp
file usage in pkg_load/parse_descfile that was not needed. This has a nice
benefit of probably being both faster, reducing code, and getting rid of
"expensive" file operations.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/package.c