compiled-file-name tries to put the .go in the %load-compiled-path
authorAndy Wingo <wingo@pobox.com>
Wed, 3 Jun 2009 07:02:48 +0000 (09:02 +0200)
committerAndy Wingo <wingo@pobox.com>
Wed, 3 Jun 2009 20:20:55 +0000 (22:20 +0200)
commitf3130a2ecf218f3709de13c10c54e8586fe0aef2
treee01e9fe1aa53bf68d214018835f71c2481bdcb0f
parent4c9c9b9b9822658ee32a9561f56ac3b9d87b0fee
compiled-file-name tries to put the .go in the %load-compiled-path

* module/system/base/compile.scm (ensure-writable-dir): Rename from
  ensure-directory.
  (dsu-sort): Helper, does a decorate / sort / undecorate.
  (compiled-file-name): Refactor to only return a writable filename. The
  readable case is handled by load.c now, and the other case was silly.
  Hopefully it will do the right thing.
  (load-ensuring-compiled): Remove, load.c will call out to compile-file
  if necessary.
  (ensure-fallback-path): Remove, load.c will add the ~/.guile-ccache dir
  to the load-compiled path, which will prompt its creation if necessary.
module/system/base/compile.scm