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: [PATCH 2/3] Minimize use of _IO_ and _G_ symbols in public headers.


On Sun, Dec 31, 2017 at 5:27 PM, Joseph Myers <joseph@codesourcery.com> wrote:
> On Tue, 26 Dec 2017, Zack Weinberg wrote:
>
>> +* The C++ name mangling for interfaces involving the types fpos_t and
>> +  fpos64_t has changed.
>
> I don't think this change is appropriate, since it's in no way necessary
> for correctness or to achieve the cleanup.  (You could call the types
> "struct _G_fpos_t" and "struct _G_fpos64_t" to avoid changing the mangling
> while still breaking any C code that wrongly uses _G_fpos_t or
> _G_fpos64_t, and still use only the typedefs __fpos_t / __fpos64_t
> directly in glibc.

Good point, I will make that change.  The intention was indeed to
catch application code using the _G_ names.

zw


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