The official pacman repository branch, maint, updated. v3.5.1-22-gd8d89d8
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, maint has been updated
via d8d89d8d27794d493ed2aa9eba4649e6e3ff4a9d (commit)
via 7f6d986ac93e3465db6a4ed5c3ac77b72d890e68 (commit)
via 39fd8bc318d4a90aab704f892cd80c22f5c7345f (commit)
via 20c4928ee155db7b43b9f5b440a2cb199f178bb4 (commit)
via a164c8405a0fb08cc7783d51796fbb76d0e4f493 (commit)
via 541c2470b8ad8c1c0c925d2474da44384b5d7d66 (commit)
from 287e8d356e8be8ae4af00e34e25d3f6727945952 (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.
Ensure stdout/stderr are flushed when asking questions
Addresses FS#23492, where the question was shown without knowing what
one was answering to. Ensure we flush our output streams before printing
the question, and flush the stream on which we ask the question before
waiting for an answer.
Ensure dbpath is not null when populating sync database
We didn't do this sanity check before trying to open an archive. If
the alpm dbpath wasn't set, the sync database dbpath would be NULL,
causing us to hang indefinitely in archive_read_open_filename() rather
than erroring out.
We already have a corresponding check in local_db_populate().
The following program will test this case, and hangs before this patch
without the call to set_dbpath: