Linux Archive

Linux Archive (
-   ArchLinux Pacman Development (
-   -   The official pacman repository branch, master, updated. v3.4.3-355-gcfa7602 (

02-17-2011 02:04 AM

The official pacman repository branch, master, updated. v3.4.3-355-gcfa7602
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 cfa760203295e99f65234896036f854b5047c90e (commit)
via 00c393d49ff77bb85397278b8f4bd89450402806 (commit)
via d1cc1ef6c31dc193adcf48a9aea4a95830c7ae56 (commit)
via 62a2e45b12f746c098523782fb5889793ef59687 (commit)
via 30f338cce6ebcab5dc521f5effef4c6527e8a197 (commit)
from 3afe3b6dfb928200166f348964de24e3f7188568 (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 cfa760203295e99f65234896036f854b5047c90e
Author: Dan McGee <>
Date: Wed Feb 16 20:56:32 2011 -0600

Don't generate filelist unless we are going to use it

We throw it away if !full, so no need to waste time creating the list in the
first place.

Signed-off-by: Dan McGee <>

commit 00c393d49ff77bb85397278b8f4bd89450402806
Author: Dan McGee <>
Date: Wed Feb 16 19:10:53 2011 -0600

Conflict checking code cleanup

* Make conflict_isin() static; it is used nowhere else.
* Remove does_conflict(): it turns out to be replaceable by a single call to
_alpm_depcmp(). By pushing it up, we can reduce calls to _alpm_splitdep()
from 60,368 to 16,940 during one test -Su operation I ran.

Signed-off-by: Dan McGee <>

commit d1cc1ef6c31dc193adcf48a9aea4a95830c7ae56
Author: Dan McGee <>
Date: Tue Feb 15 16:56:44 2011 -0600

Fix some database size estimation problems

* Use stat() and not lstat(); we don't care for the size of the symlink if
it is one, we want the size of the reference file.
* FS#22896, fix local database estimation on platforms that don't abide by
the nlink assumption for number of children.
* Fix a missing newline on an error message.

Signed-off-by: Dan McGee <>

commit 62a2e45b12f746c098523782fb5889793ef59687
Author: Pang Yan Han <>
Date: Tue Feb 15 06:30:49 2011 +0800

Use CALLOC for _alpm_graph_new()

Change _alpm_graph_new() to use CALLOC to avoid explicit zeroing out of fields
in pmgraph_t.

Signed-off-by: Pang Yan Han <>
Signed-off-by: Dan McGee <>

commit 30f338cce6ebcab5dc521f5effef4c6527e8a197
Author: Dan McGee <>
Date: Fri Feb 11 10:49:30 2011 -0600

diskspace: allow used flag to be toggled for both remove and install

Turn it into an enum rather than a boolean, and use a bitmask like we do for
reading DB entries. The relevant flag is turned on in our two calculate
loops, and anything reading the used flag later can decided which flag (or
either) is relevant.

This will allow the read-only partition code to be triggered on a
remove-only operation, e.g. if /boot was read-only and one tried to remove
grub in a sync transaction. Of course, right now, we don't actually run the
diskspace check code in the '-R' codepath.

Signed-off-by: Dan McGee <>


Summary of changes:
lib/libalpm/be_local.c | 32 ++++++++++++++++++++++++++------
lib/libalpm/be_package.c | 2 +-
lib/libalpm/be_sync.c | 9 +++++----
lib/libalpm/conflict.c | 43 +++++++++++++------------------------------
lib/libalpm/conflict.h | 1 -
lib/libalpm/diskspace.c | 5 +++--
lib/libalpm/diskspace.h | 7 ++++++-
lib/libalpm/graph.h | 13 ++-----------
lib/libalpm/pkghash.c | 2 +-
9 files changed, 57 insertions(+), 57 deletions(-)

The official pacman repository

All times are GMT. The time now is 11:35 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.