[PATCH v4] Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251)

Joseph Myers joseph@codesourcery.com
Wed Jun 20 21:49:00 GMT 2018


On Wed, 20 Jun 2018, Adhemerval Zanella wrote:

> +#include <shlib-compat.h>
> +#if TEST_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)
> +compat_symbol_reference (libc, fcntl, fcntl, GLIBC_2_0);
> +#endif

I'd expect the entire test to be under such a TEST_COMPAT conditional 
(returning 77 for UNSUPPORTED otherwise) - for a new port without older 
symbol versions, no such compat version with compat semantics is available 
for testing.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list