[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] replace struct ucontext with ucontext_t type
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH] replace struct ucontext with ucontext_t type |
Date: |
Thu, 29 Jun 2017 15:12:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
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?