[pacman-dev] [GIT] The official pacman repository branch, master, updated. v5.2.1-59-g3ea7fdd9

Allan McRae allan at archlinux.org
Wed Apr 15 03:18:52 UTC 2020

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  3ea7fdd96c874e111588a6e64ee30b75b55db785 (commit)
       via  b323528491470ff77815fea97289c2cbf7e29689 (commit)
       via  6ba250e4001740ca428226abf157b25aa121c7bf (commit)
       via  0eda92c5d4f8810a68066ee72713ffdfa878dd8c (commit)
       via  1b3289745334ec31507a12b6c54b2883a521543e (commit)
       via  1d39557aa070d2260cfda650e59c8d190397ba01 (commit)
      from  87b74fcd8257e3c2fbf2f2949f0561df7517ce71 (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 3ea7fdd96c874e111588a6e64ee30b75b55db785
Author: Allan McRae <allan at archlinux.org>
Date:   Tue Apr 14 23:45:24 2020 +1000

    pacman.8: Fix typo
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit b323528491470ff77815fea97289c2cbf7e29689
Author: Carson Black <uhhadd at gmail.com>
Date:   Tue Apr 14 20:51:03 2020 -0400

    Dull version colour numbers in summary
    Version colour numbers are dulled in the non-verbose transaction summary
    when colours are enabled.
    To prevent a regression, this patch also adds handling of strings with
    ANSI codes to string_length as to not break the transaction summary's
    output functions when colour codes are in the package name strings.
    Signed-off-by: Carson Black <uhhadd at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 6ba250e4001740ca428226abf157b25aa121c7bf
Author: Allan McRae <allan at archlinux.org>
Date:   Mon Apr 13 22:24:23 2020 +1000

    Use GOTO_ERR throughout
    The GOTO_ERR define was added in commit 80ae8014 for use in future commits.
    There are plenty of places in the code base it can be used, so convert them.
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 0eda92c5d4f8810a68066ee72713ffdfa878dd8c
Author: Allan McRae <allan at archlinux.org>
Date:   Mon Apr 13 17:39:35 2020 +1000

    Use STRDUP for error checking in more places
    Use STRDUP() over strdup() to catch memory allocation errors.
    There are still some instances of strdup left, but these are in functions
    that currently have no error path and would require a larger rework.
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 1b3289745334ec31507a12b6c54b2883a521543e
Author: Rikard Falkeborn <rikard.falkeborn at gmail.com>
Date:   Mon Apr 13 07:28:48 2020 +0200

    Add REALLOC macro to simplify realloc error handling
    realloc can fail just like the other memory allocation functions. Add a
    macro to simplify handling of realloc failures, similar to the already
    existing MALLOC, CALLOC, etc.
    Replace the existing realloc uses with the new macro, allowing us to
    move tedious error handling to the macro. Also, in be_package and
    be_sync, this fixes hypothetical memory leaks (and thereafter null
    pointer dereferences) in case realloc fails to shrink the allocated
    Signed-off-by: Rikard Falkeborn <rikard.falkeborn at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 1d39557aa070d2260cfda650e59c8d190397ba01
Author: Earnestly <zibeon at googlemail.com>
Date:   Wed Apr 1 11:29:57 2020 -0400

    Use noextract with pacman-conf NoExtract
    Current code accidently uses noupgrade for the NoExtract directive.
    Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
    Signed-off-by: Allan McRae <allan at archlinux.org>


Summary of changes:
 doc/pacman.8.asciidoc    |  2 +-
 lib/libalpm/be_local.c   | 13 +++----------
 lib/libalpm/be_package.c | 37 ++++++++++++++++---------------------
 lib/libalpm/be_sync.c    |  8 +++-----
 lib/libalpm/dload.c      |  6 ++----
 lib/libalpm/handle.c     |  2 +-
 lib/libalpm/signing.c    | 16 ++++++----------
 lib/libalpm/sync.c       |  5 ++---
 lib/libalpm/util.c       | 16 +++++-----------
 lib/libalpm/util.h       |  1 +
 src/pacman/conf.c        |  4 ++++
 src/pacman/conf.h        |  1 +
 src/pacman/pacman-conf.c |  2 +-
 src/pacman/util.c        | 46 ++++++++++++++++++++++++++++++++++------------
 14 files changed, 80 insertions(+), 79 deletions(-)

The official pacman repository

More information about the pacman-dev mailing list