[Rpm-maint] [rpm-software-management/rpm] Only permit one thread at a time in addFileToTag() (#744)

Panu Matilainen notifications at github.com
Tue Jun 11 07:56:35 UTC 2019


When creating packages in parallel, more than one thread can call
this at once. As it's modifying global macro state to update file
name and line number, things will get garbled if we permit more than
one thread.

While this is necessary for the above reason, and should fix #742,
it shouldn't crash even without this so there's probably something
else wrong too.

Closes: #742
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/744

-- Commit Summary --

  * Only permit one thread at a time in addFileToTag()

-- File Changes --

    M build/pack.c (1)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/744.patch
https://github.com/rpm-software-management/rpm/pull/744.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/744
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190611/547156eb/attachment.html>


More information about the Rpm-maint mailing list