This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] <sys/stat.h>: Use Linux kernel UAPI header if available and useful
On Jun 11 2019, Florian Weimer <fweimer@redhat.com> wrote:
> We can either duplicate the struct definition (like we did before this
> change), or add the assert, so that we are told once the duplication
> becomes necessary. I slightly prefer the second approach.
Duplication looks like the cleanest approach, since the fallback never
wants to use a different one. It will use the original definition
forever.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."