FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 05-10-2008, 07:15 PM
Sebastian Nowicki
 
Default Add detailed description to alpm_pkg_load

It was unclear what "loading the full package" actually did. The
detailed description should clear that up, without having to look at the
code.

Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>
---
lib/libalpm/package.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index ffaa96b..32ff3a8 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -54,6 +54,9 @@
*/

/** Create a package from a file.
+ * If full is false, the archive is read only until all necessary
+ * metadata is found. If it is true, the entire archive is read, which
+ * serves as a verfication of integrity and the filelist can be created.
* @param filename location of the package tarball
* @param full whether to stop the load after metadata is read or continue
* through the full archive
--
1.5.4.5


_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 
Old 05-10-2008, 08:12 PM
"Dan McGee"
 
Default Add detailed description to alpm_pkg_load

On Sat, May 10, 2008 at 2:15 PM, Sebastian Nowicki <sebnow@gmail.com> wrote:
> It was unclear what "loading the full package" actually did. The
> detailed description should clear that up, without having to look at the
> code.
>
> Signed-off-by: Sebastian Nowicki <sebnow@gmail.com>

Thanks, applied to maint.

-Dan

_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
 

Thread Tools




All times are GMT. The time now is 09:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org