7f81f43626
use strlcpy instead of strncpy which avoids non-null-termination if the string is MAXPATHLEN bytes or longer.