On Fri 20 May 2011 15:47, Jan Nieuwenhuizen <jann...@gnu.org> writes:
> Andy Wingo writes: > >> I don't much like this approach. Besides mixing in a heuristic on all >> machines that is win32-specific, it makes c:/foo.scm collide with >> d:/foo.scm in the cache, and fails to also modify load.c which also does >> autocompilation in other contexts. > > Yes, a newer version of this patch also includes load.c and boot-9.scm. > Of course the drive letter should be kept. I have applied a similar patch to Guile, before realizing you had a newer version. Sorry for the huge delay here. [I said:] >> Is anyone interested in implementing a path library? I don't think this would have helped very much in this case, given that taking an absolute path and turning it into a path suffix is not something that a path library is really good for. In reality all we need is a key that corresponds in a 1-to-1 relationship with a source file -- a SHA1 hash would have done as well. But oh well, c:/foo -> /c/foo it is! Andy -- http://wingolog.org/