I’m busy with a paid-for-by-an-actual-client system based on the Renesas RX630 so the RX63N adventure has been tabled for a while.
Still I stumbled on a little Ruby weirdness today that I have to take down just in case.
So when handling paths, doing a File.join(“/foo/foo”,”../../bar”) should give /bar back.
If by some twist of luck there’s a space before those first two dots though, the results are quite unexpected:
The dots are somehow stripped away. Btw. when doing the same with only one directory level:
Also, this only happens when there are two sets of dots (“../../”). When there is only one then the sneaky whitespace is easier to detect: