Re: [Fresco-devel] Prague::File
Stefan Seefeld <[email protected]> Thu, 12 Feb 2004 09:11:18 -0500
| Newsgroups | gmane.comp.video.fresco.devel |
|---|---|
| Message-ID | <[email protected]> |
Bernhard Fischer wrote:
> Hi,
>
> hope this is the appropriate list regarding questions not concerning
> complete rewrites of whole stringent subsystems :)
> I proved not to be able to find a fresco-user list, fwiw.
Well, you came to the right place. Right now all users are
developers :-)
> I'm facing the need of some sort of <excerpt>
> Prague::File::canonicalname(string){canonicalize_file_name else realpath else string}
> </excerpt>
> Suggestions?
you'd need to provide your definition of 'canonical'. The Prague
library's scope is to provide sufficient system service abstraction for
the berlin server to be implementable without to care for platform
specifics. Prague's goal has never been to implement a kitchen sink.
What portability constraints do we have ? What are the platforms Prague
targets ? There are related discussions on the boost ML concerning
the boost::filesystem library, and they prove that aiming for a more
complete (and still portable) set of APIs is a lot of work.
Look at http://www.boost.org/libs/filesystem/doc/path.htm#Rationale
to see what this involves (and we are still only talking about filenames
here !)
May be boost::filesystem is the answer to your question, I don't know.
Kind regards,
Stefan