[interfacekit] Re: kernel_interface.POSIX.cpp and some grease

Pahtz <pahtz@xxxxxxxxxxxx> wrote:
> BTW, kits/storage/kernel_interface.POSIX.cpp uses strlcat which 
> doesn't 
> seem to be in R5.

Right, I've fixed that now (by adding both functions to 
libbeadapter.so).

> Umm, also should add the kernel private headers to kits/Jamfile for <
> syscall.h> in
> storage/LibBeAdapter.cpp

That was already done at the time I got your message; maybe you checked 
out while I was updating the tree.

> Screen.cpp is missing from interface/interface.src

It's been there since June 28, Revision 1.23 - always make sure to work 
from a fresh repository before reporting bugs.

> B_EMPTY_STRING needs to be defined somewhere.

Thanks, I've added it to support/String.cpp - maybe we should put it 
somewhere else (like SupportDefs.cpp), but at least it's defined now.

> And something changed to cause a recursion stack overflow with 
> entry_ref_to_path. 
> I discovered some of this stuff be removing libbe.so from the kits/
> Jamfile.

Because you obviously misunderstood how it works: libbeadapter.so has 
to link against libbe.so, because it uses its functions to provide the 
_kern_dir_node_ref_to_path() functionality. If you remove libbe.so from 
the build, it will call libopenbeos.so's functions, which call 
libbeadapter.so's functions, etc.
Our final libbe.so doesn't link against libbeadapter.so, that's only 
for libopenbeos.so - for testing.
Thanks anyway!

Bye,
   Axel.


Other related posts: