Name

mk_normalize_path — Normalize path

Synopsis

mk_normalize_path path

Description

Normalizes path by attempting to remove all '.' and '..' components. '..' components which attempt to escape the current directory or / are left in place, but are guaranteed to occur at the beginning of the string where they can be easily checked. Sets result to the result.