[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.1.0-16-g2630556
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 2630556bdef7a07fda056fdcd0a2fa00c3625d3c (commit) via 112caad838762383708d692f6479fe112b35f4fc (commit) via 3e133524a54ab55daff666d26c67ac288b605e92 (commit) via 8ffa6fa7adf291b3dad822c459e1372a31af09f1 (commit) via 8372a9e8c73ed18da5f027c99c8ac48c2f706b55 (commit) via 318d5c4ba87b699c3a902bf906f55a3f905a1650 (commit) via f9a7d8cba4ec1833d32dc8a9403053564b68d18a (commit) via ccc1c731529de16f6fa4064fd992a8f63d7cfc26 (commit) from 0a65de10b1cd8bd450e47e735cb909eec13822d0 (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 2630556bdef7a07fda056fdcd0a2fa00c3625d3c Merge: 112caad838762383708d692f6479fe112b35f4fc 8ffa6fa7adf291b3dad822c459e1372a31af09f1 Author: Dan McGee <dan@archlinux.org> Date: Fri Jan 11 23:19:52 2008 -0600 Merge branch 'maint' commit 112caad838762383708d692f6479fe112b35f4fc Author: Nagy Gabor <ngaba@bibl.u-szeged.hu> Date: Fri Jan 11 21:51:50 2008 +0100 New reason001.py pactest This pactest demonstrates that we should copy the reason between the to-be-replaced and replaced packages Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org> commit 3e133524a54ab55daff666d26c67ac288b605e92 Author: Dan McGee <dan@archlinux.org> Date: Fri Jan 11 01:00:15 2008 -0600 Add functions to manipulate pmdepend_t objects We didn't have a free function before, causing some memory leaks. We also need a dup function now that strings are not in the structure but are dynamically allocated. Also adapt pmdepmissing_t to use a pointer to a depend struct instead of an inclusive one so we can use the functions we created here. Signed-off-by: Dan McGee <dan@archlinux.org> commit ccc1c731529de16f6fa4064fd992a8f63d7cfc26 Author: Dan McGee <dan@archlinux.org> Date: Fri Jan 11 00:01:58 2008 -0600 Use dynamic string allocation in package structures This also affects all structures with static strings, such as depmiss, conflict, etc. This should help a lot with memory usage, and hopefully make things a bit more "idiot proof". Currently our pactest pass/fail rate is identical before and after this patch. This is not to say it is a perfect patch- I have yet to pull valgrind out. However, this should be quite safe to use in all situations from here on out, and we can start plugging the memleaks. Original-work-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: lib/libalpm/add.c | 6 +- lib/libalpm/be_files.c | 194 +++++++++++++++++++++++--------------------- lib/libalpm/conflict.c | 33 ++++++-- lib/libalpm/conflict.h | 15 ++-- lib/libalpm/db.c | 16 ++-- lib/libalpm/deps.c | 98 +++++++++++++++-------- lib/libalpm/deps.h | 15 ++-- lib/libalpm/handle.c | 4 +- lib/libalpm/package.c | 95 ++++++++++++++-------- lib/libalpm/package.h | 31 ++----- lib/libalpm/remove.c | 7 +- lib/libalpm/server.c | 5 +- lib/libalpm/sync.c | 37 ++++++--- lib/libalpm/util.h | 3 +- pactest/tests/reason001.py | 16 ++++ src/pacman/pacman.c | 6 +- src/pacman/util.c | 4 + valgrind.supp | 18 ++++- 18 files changed, 367 insertions(+), 236 deletions(-) create mode 100644 pactest/tests/reason001.py hooks/post-receive -- The official pacman repository
participants (1)
-
Dan McGee