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: [RFC][PATCH v8 06/16] Provide backward compatibility for strftime family (bug 10871).


On 06/28/2017 12:04 PM, Rafal Luzynski wrote:
> As %OB format specifier has been added to strftime/wcsftime
> family of functions backward compatibility implementation must be
> provided for older binaries which assume that %B returns
> a month name in the nominative case.

I think this is a misuse of a compatibility symbols.

Either the reinterpretation of %B is okay, and then it should apply to
old binaries as well, or it is not, and then we should not do it and use
%OB for the new variant (avoiding the backwards compatibility issue
altogether).

I still think that the reinterpretation %B is quite wrong, needlessly
breaking backwards compatibility for most languages which benefit from
the change, but I won't stay in the way of consensus on this matter.

However, the compatibility symbol is wrong, and I'm sustaining my objection.

Thanks,
Florian


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