[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] replace struct ucontext with ucontext_t type
From: |
Kamil Rytarowski |
Subject: |
Re: [Qemu-devel] [PATCH] replace struct ucontext with ucontext_t type |
Date: |
Thu, 29 Jun 2017 15:10:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; NetBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 29.06.2017 15:12, Markus Armbruster wrote:
> Peter Maydell <address@hidden> writes:
>
>> On 28 June 2017 at 21:44, Khem Raj <address@hidden> wrote:
>>> The ucontext_t type had a tag struct ucontext until now
>>> but newer glibc will drop it so we need to adjust and use
>>> the exposed type instead
>>
>> If true this seems like a bug in glibc to break
>> existing working programs, and it should be fixed there...
>
> I'd support that notion. However, SUSv2 documents ucontext_t, not
> struct ucontext. Using the former instead of the latter makes sense as
> a portability improvement, doesn't it?
>
NetBSD ships with ucontext_t, no 'struct ucontext' available.
Technically there is 'struct __ucontext', but nobody is allowed to use
it sanely.
signature.asc
Description: OpenPGP digital signature