At 10:29 PM 4/17/2002, you wrote:
William A. Rowe, Jr. wrote:
While we consider Stas' ideas for a portable tmpdir, we should also consider
breaking apart path strings (such as env('PATH'), or LIB or INCLUDE paths
as well.) These semantics change considerably from Win32 to unix and
other platforms. I dunno what NetWare does here, anymore.
If you need the implementation details look at how Perl does it. it's in
File::Spec which is a set of function working on Files/Dirs crossplatform.
Thanks. Those too would be good. I was first considering simply splitting
apart paths from a list. While a variable such as TEMP or TMP can simply be
passed to apr_filepath_merge(), you can't do that with path lists like PATH,
LIB or INCLUDE.