~ chicken-core (chicken-5) b0361acaa02494833343f49ad0b9135871d8336c


commit b0361acaa02494833343f49ad0b9135871d8336c
Author:     Evan Hanson <evhan@foldling.org>
AuthorDate: Wed Mar 14 18:53:33 2018 +1300
Commit:     Peter Bex <peter@more-magic.net>
CommitDate: Sun Mar 18 14:19:39 2018 +0100

    Properly namespace srfi-6 module value exports
    
    Because they were not pairs, the items in the srfi-6 module's value
    exports list were being marked with "##sys#primitive-alias" rather than
    rewritten to their namespaced counterparts.
    
    This patch makes the srfi-6 module's exports list a map of namespaced
    values as should have been done in 6d1262c1.
    
    Signed-off-by: Peter Bex <peter@more-magic.net>

diff --git a/modules.scm b/modules.scm
index 26cd8d46..aed031c4 100644
--- a/modules.scm
+++ b/modules.scm
@@ -1065,7 +1065,10 @@
  'srfi-2 '() (se-subset '(and-let*) ##sys#chicken.base-macro-environment))
 
 (##sys#register-core-module
- 'srfi-6 'library '(open-input-string open-output-string get-output-string))
+ 'srfi-6 'library
+ '((get-output-string . chicken.base#get-output-string)
+   (open-input-string . chicken.base#open-input-string)
+   (open-output-string . chicken.base#open-input-string)))
 
 (##sys#register-primitive-module
  'srfi-8 '() (se-subset '(receive) ##sys#chicken.base-macro-environment))
Trap