I realised today that this also causes problems with the font making program, which uses open()/read(). The environment variable GISBASE set during builds in "gmake.sh" can be set to a double-slash prefixed path (and does so on my machines as I also build Grass on the E:\drive). I'll look into how to fix this.