This is actually a static buffer with function visibility. Declaring it as static should avoid increasing the stack by MAXPATHL every time the function is called