K 10 svn:author V 2 ed K 8 svn:date V 27 2016-09-21T13:02:43.002283Z K 7 svn:log V 254 Fix misuse of the basename() and dirname() functions. These functions are allowed to overwrite their input. Pull a copy of the input parameter and call dirname() and basename() on that instead. Do ensure that we reload the pathname value between calls. END