[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.5.0-32-g0303b26
Dan McGee
dan at archlinux.org
Sun Mar 20 21:31:42 EDT 2011
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 0303b26b1ed6d060e65ec7dbae5db50fc14836ff (commit)
via 0cf05c77ad86b5c1895e94284b571afba5feebe8 (commit)
from b2fde01c545286bb92f6194603817602bf9dfbe7 (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 0303b26b1ed6d060e65ec7dbae5db50fc14836ff
Author: Dan McGee <dan at archlinux.org>
Date: Sun Mar 20 19:45:57 2011 -0500
Style change: return(x) --> return x
This was discussed and more or less agreed upon on the mailing list. A
huge checkin, but if we just do it and let people adjust the pain will
end soon enough. Rebasing should be relatively straighforward for anyone
that sees conflicts; just be sure you use the new return style if
possible.
The following semantic patch was used to do the change, along with some
hand-massaging in order to preserve parenthesis where appropriate:
The semantic match that finds this problem is as follows, although some
hand-massaging was done in order to keep parenthesis where appropriate:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
expression a;
@@
- return(a);
+ return a;
// </smpl>
A macros_file was also provided with the following content:
Additional steps taken, mainly for ASSERT() macros:
$ sed -i -e 's#return(NULL)#return NULL#' lib/libalpm/*.c
$ sed -i -e 's#return(-1)#return -1#' lib/libalpm/*.c
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 0cf05c77ad86b5c1895e94284b571afba5feebe8
Author: Dave Reisner <d at falconindy.com>
Date: Thu Feb 10 11:19:41 2011 -0500
lib/dload.c: fix opening braces to conform with coding style
Signed-off-by: Dave Reisner <d at falconindy.com>
Signed-off-by: Dan McGee <dan at archlinux.org>
-----------------------------------------------------------------------
Summary of changes:
HACKING | 8 ++--
lib/libalpm/add.c | 34 ++++++------
lib/libalpm/alpm.c | 10 ++--
lib/libalpm/alpm_list.c | 87 ++++++++++++++++----------------
lib/libalpm/backup.c | 14 +++---
lib/libalpm/be_local.c | 70 +++++++++++++-------------
lib/libalpm/be_package.c | 26 +++++-----
lib/libalpm/be_sync.c | 20 ++++----
lib/libalpm/conflict.c | 62 ++++++++++++------------
lib/libalpm/db.c | 120 ++++++++++++++++++++++----------------------
lib/libalpm/delta.c | 36 +++++++-------
lib/libalpm/deps.c | 88 ++++++++++++++++----------------
lib/libalpm/diskspace.c | 22 ++++----
lib/libalpm/dload.c | 50 +++++++++++--------
lib/libalpm/error.c | 2 +-
lib/libalpm/graph.h | 2 +-
lib/libalpm/group.c | 6 +-
lib/libalpm/handle.c | 44 ++++++++--------
lib/libalpm/log.c | 4 +-
lib/libalpm/package.c | 32 ++++++------
lib/libalpm/pkghash.c | 34 ++++++------
lib/libalpm/remove.c | 16 +++---
lib/libalpm/sync.c | 28 +++++-----
lib/libalpm/trans.c | 62 ++++++++++++------------
lib/libalpm/util.c | 88 ++++++++++++++++----------------
lib/libalpm/util.h | 2 +-
lib/libalpm/version.c | 14 +++---
src/pacman/callback.c | 2 +-
src/pacman/conf.c | 8 ++--
src/pacman/database.c | 10 ++--
src/pacman/deptest.c | 4 +-
src/pacman/package.c | 4 +-
src/pacman/pacman.c | 102 +++++++++++++++++++-------------------
src/pacman/query.c | 60 +++++++++++-----------
src/pacman/remove.c | 16 +++---
src/pacman/sync.c | 86 ++++++++++++++++----------------
src/pacman/upgrade.c | 22 ++++----
src/pacman/util.c | 122 +++++++++++++++++++++++-----------------------
src/util/cleanupdelta.c | 2 +-
src/util/pactree.c | 18 +++---
src/util/testdb.c | 20 ++++----
src/util/testpkg.c | 6 +-
src/util/vercmp.c | 6 +-
43 files changed, 738 insertions(+), 731 deletions(-)
hooks/post-receive
--
The official pacman repository
More information about the pacman-dev
mailing list