[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.1.3-98-gd140b44
Dan McGee
dan at archlinux.org
Thu Mar 27 20:35:49 EDT 2008
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The official pacman repository".
The branch, master has been updated
via d140b440a86cc55bec6086e8d4a4d2606ebb6d1e (commit)
via f8c737d3b6b28373a69d5979a4ba2e31b77baa62 (commit)
via 1dfd841e40344ff401e0d9e8d61b55cb64b2681f (commit)
from 5f1ccdbc27e3b4b92f9b65379db17a4d6523975d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d140b440a86cc55bec6086e8d4a4d2606ebb6d1e
Author: Dan McGee <dan at archlinux.org>
Date: Wed Mar 26 21:26:43 2008 -0500
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 at archlinux.org>
commit f8c737d3b6b28373a69d5979a4ba2e31b77baa62
Author: Dan McGee <dan at archlinux.org>
Date: Tue Mar 25 21:23:14 2008 -0500
Add an archive_fgets() function
This crude function allows reading from an archive on a line-by-line basis
similar to the familiar fgets() call on a FILE stream. This is the first
step in being able to read DB entries straight from an archive.
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 1dfd841e40344ff401e0d9e8d61b55cb64b2681f
Author: Dan McGee <dan at archlinux.org>
Date: Wed Mar 26 20:19:44 2008 -0500
Make db->treename a pointer
I really don't think we need statically allocated strings here.
Signed-off-by: Dan McGee <dan at archlinux.org>
-----------------------------------------------------------------------
Summary of changes:
lib/libalpm/db.c | 4 +-
lib/libalpm/db.h | 2 +-
lib/libalpm/package.c | 61 +++++++++----------------------------------------
lib/libalpm/util.c | 29 +++++++++++++++++++++++
lib/libalpm/util.h | 2 +
5 files changed, 45 insertions(+), 53 deletions(-)
hooks/post-receive
--
The official pacman repository
More information about the pacman-dev
mailing list