This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Deprecate union wait and remove support from wait functions [BZ #19613]
- From: Florian Weimer <fweimer at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 7 Mar 2016 21:38:41 +0100
- Subject: Re: Deprecate union wait and remove support from wait functions [BZ #19613]
- Authentication-results: sourceware.org; auth=none
- References: <56BE07C8 dot 40205 at redhat dot com>
On 02/12/2016 05:26 PM, Florian Weimer wrote:
> The overloading approach in the macros was incompatible with integer
> expressions of a type different from int. Applications using union wait
> and these macros will have to migrate to the POSIX-specified int
> status type.
>
> This commit also removes the transparent union overloads from the
> process wait functions. As a result, application code which uses
> union wait will receive compile-time warnings about pointer
> compatibility.
>
> This does not have ABI impact. The functionality was deprecated in BSD
> in the early 1990s. I plan to remove union wait completely in glibc 2.25.
Ping?
I'd like to have some buy-in for this API change.
Thanks,
Florian