new function: canonicalize-path. use when autocompiling
authorAndy Wingo <wingo@pobox.com>
Fri, 19 Jun 2009 12:26:47 +0000 (14:26 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 19 Jun 2009 12:26:47 +0000 (14:26 +0200)
commit25b82b3485e9e44d8d6268d3774b0b81d0d501b2
treef3378fd8b175d43240e6bff9f749826e4da87175
parentffca4c2203d85bc4d9e348d77053d21112e665af
new function: canonicalize-path. use when autocompiling

* libguile/filesys.h:
* libguile/filesys.c (scm_canonicalize_path): New function,
  canonicalize-path.

* module/system/base/compile.scm (compiled-file-name): Canonicalize the
  filename so that compiling e.g. ../foo.scm doesn't compile to
  ~/.guile-ccache/1.9/../foo.scm.
libguile/filesys.c
libguile/filesys.h
module/system/base/compile.scm