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] Set behavior of sprintf-like functions with overlapping source and destination


On 31/12/18 11:16 PM, Joseph Myers wrote:
Compat symbol semantics should be tested in the testsuite (with
appropriate TEST_COMPAT conditionals and use of compat_symbol_reference).
(There are exceptional cases where the new symbol's semantics are a
refinement of the old and so the two symbol versions alias each other and
no separate test of the old version is useful, but a new version is added
to stop new binaries working with old libc - e.g. when some fenv.h
functions changed from void to int return type following C99TC1 - but the
normal case is that the compat symbols should be tested to ensure they
keep working as expected.)

That's a good point, and something to keep in mind when we revive this discussion for 2.30. For 2.29, do you agree that we should revert to old behaviour?

Siddhesh


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