It would probably merit extending apr_filepath_merge's API to add a resolve symlinks flag (NT junctions, etc) in a platform agnostic way.
Bill Dr. Peter Poeml wrote: > On Thu, Mar 08, 2007 at 10:53:05AM +0100, Dr. Peter Poeml wrote: >> Hello, >> >> is there a function in apache or apr to canonicalize pathnames (resolve >> a path with symlinks to the "real" path on disk)? >> >> I couldn't find one so far. >> >> I looked at r->canonical_filename, but it contained the same path as >> r->filename, and doesn't have symlinks resolved. > > I was pointed to glibc's realpath() / canonicalize_file_name() now. > Never mind :) > > Regards, > Peter
