This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] explicit_bzero final
On Wed, 14 Dec 2016, Zack Weinberg wrote:
> This file is not in sysdeps/generic, so it cannot be overridden (or is
> that no longer the case? If so, why do we still have sysdeps/generic?)
Files outside sysdeps/generic can be overridden.
Internal headers used from more than one directory and also overridden by
some configurations belong in sysdeps/generic: include/ comes before
sysdeps so isn't suitable for headers that get overridden, while if the
header is in some other directory it's not visible for compilations within
another directory. There may be other cases that need to be in
sysdeps/generic as well.
--
Joseph S. Myers
joseph@codesourcery.com