Fix relative file name canonicalization with empty %LOAD-PATH entries.
authorLudovic Courtès <ludo@gnu.org>
Tue, 15 May 2012 17:05:37 +0000 (19:05 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 15 May 2012 17:05:37 +0000 (19:05 +0200)
commit2ae7b7b6c3e049aaba43c884d5c1d0c5f741cd16
tree802745ce3be6a3f5477202d3ef1c9fcd6ffbff3b
parent4eaf64cd462ef7730e17299e60f578100ff9c032
Fix relative file name canonicalization with empty %LOAD-PATH entries.

* libguile/filesys.c (scm_i_relativize_path): Don't attempt to
  canonicalize when encountering an entry of IN_PATH that is the empty
  string.

* test-suite/tests/ports.test (with-load-path): New macro.
  ("%file-port-name-canonicalization"): New test prefix.
libguile/filesys.c
test-suite/tests/ports.test