Fix infinite loop in rMkpath
edat patch
...