[lsb-discuss] stat(), lstat() and fstat()
silakov at ispras.ru
Wed Jan 26 06:43:05 PST 2011
On 01/26/11 17:23, Wichmann, Mats D wrote:
> Denis Silakov wrote:
>> If it will make things more clear, I guess it would be safe to mark
>> the interface itself as included. In this case, Navigator will say
>> that it is included, but marked as Source Only (and thus is allowed
>> to be missing in shared libs).
>> Currently all symbols in question are not marked as included in the
>> LSB Database - they only have a 'source only' flag which make them
>> appear in
>> headers. So there is a slight inconsistency between header
>> generator and
>> Navigator - the latter looks at the 'SrcOnly' flag only for interfaces
>> explicitly marked as included.
> but if they're marked as included, won't that cause stubs to
> appear in libc? the "magic" is that we don't resolve there,
> but leave it to be fixed up by libc_nonshared.a and I think
> that breaks if we add to stubs?
Uh, yes, that's right. I should say I've performed small experiment with
'stat' and right now it doesn't appear in stub. B it turned out that
this is because it is not assigned to any library/libgroup, only to
header; mkstublibs is not aware of 'source only' flag.
So probably it would be better to teach Navigator to smarter handle
More information about the lsb-discuss