guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, master, updated. release_1-9-11-123-ge


From: Ludovic Courtès
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-11-123-geba5ea7
Date: Sun, 20 Jun 2010 15:53:18 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=eba5ea7a4f780115cd49c90bcec7624d5481802b

The branch, master has been updated
       via  eba5ea7a4f780115cd49c90bcec7624d5481802b (commit)
      from  35d70eccaca513c49cac29ca8b46262be725644a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit eba5ea7a4f780115cd49c90bcec7624d5481802b
Author: Ludovic Courtès <address@hidden>
Date:   Sun Jun 20 16:57:06 2010 +0200

    Canonicalize source file names in `primitive-load-path' (fix bug #30170).
    
    * libguile/load.c (scm_primitive_load_path): Canonicalize
      FULL_FILENAME.  Fixes bug #30170 ("Auto-compilation erroneously
      recompiles dependencies").

-----------------------------------------------------------------------

Summary of changes:
 libguile/load.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libguile/load.c b/libguile/load.c
index 0e4894e..f0e5d73 100644
--- a/libguile/load.c
+++ b/libguile/load.c
@@ -761,6 +761,9 @@ SCM_DEFINE (scm_primitive_load_path, "primitive-load-path", 
0, 0, 1,
     exception_on_not_found = SCM_BOOL_T;
 
   full_filename = scm_sys_search_load_path (filename);
+  if (scm_is_string (full_filename))
+    full_filename = scm_canonicalize_path (full_filename);
+
   compiled_filename =
     scm_search_path (*scm_loc_load_compiled_path,
                     filename,


hooks/post-receive
-- 
GNU Guile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]