[RFC][PATCH v8 06/16] Provide backward compatibility for strftime family (bug 10871).

Florian Weimer fweimer@redhat.com
Wed Jun 28 10:11:00 GMT 2017


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



More information about the Libc-alpha mailing list