fix generation of auto-compiled file names on mingw systems
authorAndy Wingo <wingo@pobox.com>
Thu, 30 Jun 2011 14:07:17 +0000 (16:07 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 30 Jun 2011 14:07:17 +0000 (16:07 +0200)
commit6934d9e75fde9c880b39faa19237b041495c8531
tree63db3896a3de0b59fc164dc75eebb48b005a4ed1
parent94906b754120343f1e767d2feadc2be5666c70ed
fix generation of auto-compiled file names on mingw systems

* libguile/load.c (canonical_to_suffix, scm_primitive_load_path):
* module/ice-9/boot-9.scm (load-in-vicinity):
* module/system/base/compile.scm (compiled-file-name): If the canonical
  path of a file is a DOS-style path with a drive letter, turn it into a
  path suffix it by removing the colon and prefixing a "/".

Inspired by a patch from Jan Nieuwenhuizen.
libguile/load.c
module/ice-9/boot-9.scm
module/system/base/compile.scm