
|
[haiku-development]
||
[Date Prev]
[03-2008 Date Index]
[Date Next]
||
[Thread Prev]
[03-2008 Thread Index]
[Thread Next]
[haiku-development] Re: dup code for create_directory()
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Sat, 01 Mar 2008 21:35:26 +0100 CET
"François Revol" <revol@xxxxxxx> wrote:
> in src/kits/storage/Directory.cpp there is the public
> create_directory() function.
> In src/system/libroot/os/find_directory.c there is a static
> create_path() I wrote because the C version of find_directory() needs
> it, which does the exact same thing.
> I think we should make it extern and call it from the (C++ linkaged)
> one in libbe.so.
> That'd remove duplicate functionality.
I don't mind code duplication that much there (since it's only a couple
of lines), but I wouldn't mind having a public create_directory()
function for C either.
Make this a +/- 0 :-)
Bye,
Axel.
|

|