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 01-05-2008, 10:45 PM
Dan McGee
Default The official pacman repository branch, master, updated. v3.0.6-730-g1a0aaa2

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 1a0aaa20df29234250ecc0f9fc3f56bb8cf22ca1 (commit)
via 5aa873edb696bbf678cbb57df43d90e23d562179 (commit)
from 85a8b150edb7d1fca67f7f0abee3400bd57e7d5a (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 1a0aaa20df29234250ecc0f9fc3f56bb8cf22ca1
Author: Dan McGee <dan@archlinux.org>
Date: Sat Jan 5 17:39:38 2008 -0600

Don't stat cachedir immediately

By attempting to stat the cachedir when we load the pacman config, pacman
bails out if it is a non-existant directory, even if it will never be
needed. This is unfortunate as it is only used for sync transactions anyway.
Instead, wait until we need it in _alpm_filecache_setup to actually do

Reported as FS#9096.

Signed-off-by: Dan McGee <dan@archlinux.org>

commit 5aa873edb696bbf678cbb57df43d90e23d562179
Author: Dan McGee <dan@archlinux.org>
Date: Sat Jan 5 17:34:10 2008 -0600

sync.c: add sanity check so we don't dereference a null pointer

Originally noticed in FS#9024, but was fixed in previous changes anyway.
However, it doesn't hurt to still check it.

Also add a pactest from Chantry Xavier for the original problem to ensure
we can't reproduce it.

Signed-off-by: Dan McGee <dan@archlinux.org>


Summary of changes:
lib/libalpm/handle.c | 8 +++-----
lib/libalpm/sync.c | 14 ++++++++------
lib/libalpm/util.c | 3 ---
pactest/tests/sync404.py | 26 ++++++++++++++++++++++++++
4 files changed, 37 insertions(+), 14 deletions(-)
create mode 100644 pactest/tests/sync404.py

The official pacman repository

pacman-dev mailing list

Thread Tools

All times are GMT. The time now is 12:47 PM.

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