Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Stdio

Method Stdio.append_path()


Method append_path

string Stdio.append_path(string absolute, string ... relative)

Description

Append relative paths to an absolute path and remove any "//", "../" or "/." to produce a straightforward absolute path as a result.

"../" is ignorded in the relative paths if it makes the created path begin with something else than the absolute path (or so far created path).

Note

Warning: This does not work on NT. (Consider paths like: k:/fnord)

See also

combine_path()