[PATCH] Set behavior of sprintf-like functions with overlapping source and destination
Siddhesh Poyarekar
siddhesh@gotplt.org
Mon Dec 31 18:03:00 GMT 2018
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
More information about the Libc-alpha
mailing list