Go to the FreeLists Home Page Home Signup Help Login
 



[openbeos] || [Date Prev] [07-2005 Date Index] [Date Next] || [Thread Prev] [07-2005 Thread Index] [Thread Next]

[openbeos] Re: find_directory()

  • From: "François Revol" <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Tue, 05 Jul 2005 15:38:41 +0200 CEST
> Hi there,
> 
> dunno if anyone has realized this already:
> we have two different find_directory() implementations in our tree, 
> one 
> in libroot.so (libroot/os/find_directory.c), one in libbe.so (storage
> /
> FindDirectory.cpp).
> The one in libroot.so looks better to me, as it is prepared for 
> various 
> things like different home directories, etc.

Yes, the C one is supposed to be the correct one. :p

> Does anyone mind if I:
> a) remove find_directory(directory_which which, dev_t volume, bool 
> createIt, char *pathString, int32 length) from libbe.so 

It belongs to libroot anyway.

> b) have the other form (the BVolume/BPath based) use the libroot.so 
> version

That's how it's done in R5.

François.






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.