This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bsd_signal's prototype unavailable when _GNU_SOURCE is defined


Thanks for the clarification.

I know the function has removed from posix 2008 and is probably on its way
out of glibc. But since it's still declared in the header and man page
documents the necessary feature test macros, I wondered if it's a bug in
the man page or in glibc code which is supposed to provide bad_signal's
prototype when necessary macros are defined.

It's not a serious issue. I worked around it by providing its prototype
myself if glibc version is 2.26 or later. I am not sure if it's worth
raising a bug report for this considering it's been removed from posix 2008
- presumably very low priority for glibc. If you think otherwise, I can
file a bug report. Thanks.

On 11-Nov-2017 9:14 pm, "Florian Weimer" <fw@deneb.enyo.de> wrote:

> * Ponnuvel Palaniyappan:
>
> > Is this the expected behaviour? If so, is there a way to make bsd_signal
> > available whiling _GNU_SOURCE is defined?
>
> It's not listed in NEWS, so it's not deliberate.  But considering that
> the function is obsolete, I would say the bug is that it's not
> mentioned in NEWS, not that the declaration has been removed from the
> header file.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]