Linux Archive

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

02-11-2011 03:39 PM

The official pacman repository branch, master, updated. v3.4.3-350-g3afe3b6
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 3afe3b6dfb928200166f348964de24e3f7188568 (commit)
via 1358a4a80f4d8edbeedc0fdd1e026b491cbb8815 (commit)
via 0eac60cd9d478774025a10decce835dea42f9ce4 (commit)
via 06cbb516c35eb81220064878ff202c3107b12c99 (commit)
via 56721c12cec02366816130aafaa974667db59a93 (commit)
via 62fc966882aab2807c515614332ea74f848a5cf3 (commit)
from 942bb9e64a7ba11e5f2a0db374bcaa21868eceb6 (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 3afe3b6dfb928200166f348964de24e3f7188568
Author: Dan McGee <>
Date: Tue Feb 8 21:19:00 2011 -0600

Check mountpoint read-only status when checking space

This is a bit of a stopgap solution for the problem, but an easier one than
revamping the file conflict checking code to support the same stuff. Using
some more gross autoconf magic, figure out which struct field we need to
look at to determine read-only status and store that on our mountpoint
struct. If we find out we needed this partition after calculating size
requirements, then toss an error.

Signed-off-by: Dan McGee <>

commit 1358a4a80f4d8edbeedc0fdd1e026b491cbb8815
Author: Dan McGee <>
Date: Fri Feb 11 10:36:41 2011 -0600

diskspace: use calloc instead of malloc

Prevents us from having to manually zero out several of our fields.

Signed-off-by: Dan McGee <>

commit 0eac60cd9d478774025a10decce835dea42f9ce4
Author: Dan McGee <>
Date: Fri Feb 11 10:34:34 2011 -0600

Fix mount dir length calculation

In the getmntinfo() section, the local variable mnt doesn't exist; this
would have caused a compile error if I had tested the code on such a
platform. Unify both codepaths to just run strlen() on the already copied
mount path instead.

Signed-off-by: Dan McGee <>

commit 06cbb516c35eb81220064878ff202c3107b12c99
Author: Dan McGee <>
Date: Tue Feb 8 21:16:36 2011 -0600

Avoid a memmove by advancing value pointer

In packages, our description file contains:
key = value is here
type entries, and we passed "key " and " value is here" to our strtrim
function, causing us to always memmove the value portion to remove the
space. Since this is a throwaway buffer, do the advancing on our own before
trimming to save the need to shift memory around; "value is here" will now
be passed and strtrim will be responsible for trailing whitespace.

Signed-off-by: Dan McGee <>

commit 56721c12cec02366816130aafaa974667db59a93
Author: Dan McGee <>
Date: Tue Feb 8 21:16:04 2011 -0600

Fix fileconflict progress with only one package

Signed-off-by: Dan McGee <>

commit 62fc966882aab2807c515614332ea74f848a5cf3
Author: Dan McGee <>
Date: Wed Feb 9 07:54:42 2011 -0600

Ensure pkgbase/epoch are defined before doing anything

When generating integrity sums, we could get some weird output before due to
epoch being uninitialized:

/usr/bin/makepkg: line 234: [[: 2.6.37: syntax error: invalid arithmetic operator (error token is ".6.37")

Signed-off-by: Dan McGee <>


Summary of changes: | 4 ++++
lib/libalpm/be_package.c | 1 +
lib/libalpm/conflict.c | 6 ++++--
lib/libalpm/diskspace.c | 42 +++++++++++++++++++++++++-----------------
lib/libalpm/diskspace.h | 1 +
scripts/ | 7 ++++---
6 files changed, 39 insertions(+), 22 deletions(-)

The official pacman repository

All times are GMT. The time now is 03:40 AM.

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