This is the mail archive of the libc-alpha@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: _ATFILE_SOURCE Obsoletion


On 10/18/2017 07:34 AM, Michael Kerrisk (man-pages) wrote:
> Also, broadening the meaning of _ATFILE_SOURCE to imply
> _POSIX_C_SOURCE==200809L sems a little risky to me, in terms of
> possibly creating developer pain.

That risk is balanced against the *removal* of _ATFILE_SOURCE,
which would mean fixing a lot of now broken packages that don't
build. Those packages would have to evaluate what needs to change,
find that they need to use _POSIX_C_SOURCE, at that point they
would have made a change which is equivalent to the deprecation
practice of defining the macro the superset feature but with a
warning.

I feel we are better serving our users by doing what has become
standard practice, as Joseph suggests, which is to map the macro
to the supported superset feature.

The only counter-argument could be that such a change is so
destructively, and silently harmful, that developers need to do
the transition manually and review all uses.

-- 
Cheers,
Carlos.


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