Skip to content
Snippets Groups Projects
Commit c35a377f authored by Brad King's avatar Brad King
Browse files

SystemTools: Refactor CollapseFullPath to call getcwd only when needed

Many calls to the one-argument `CollapseFullPath` variant already have
an absolute path and just need to collapse it.  Avoid calling `getcwd`
if the result is not needed because it can be an expensive syscall.
parent 019afb6e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment