Bug 417264 - Musl issues: Fix none/tests/pth_atfork1.c
Summary: Musl issues: Fix none/tests/pth_atfork1.c
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.15 SVN
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-07 12:51 UTC by Stefan Maksimovic
Modified: 2020-12-04 20:03 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
proposed solution (1.14 KB, text/plain)
2020-02-07 12:51 UTC, Stefan Maksimovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Maksimovic 2020-02-07 12:51:37 UTC
Created attachment 125731 [details]
proposed solution

There is no error.h on some systems (e.g. musl), so use local
implementation of error() function as a safe option.
Comment 1 Stefan Maksimovic 2020-03-02 13:41:19 UTC
Did anyone have a chance to take a look at this in the meantime?
Comment 2 Paul Floyd 2020-12-04 20:03:10 UTC
This was fixed a while back

commit 702b1fe56f6dd61d0003457728702248f46c6dcc
Author: Aleksandar Rikalo <aleksandar.rikalo@rt-rk.com>
Date:   Thu Apr 23 16:22:31 2020 +0000

    Musl issues: Fix none/tests/pth_atfork1.c
    
    There is no error.h on some systems.