chicken-janitors
[Top][All Lists]
Advanced

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

Re: [Chicken-janitors] #1548: Extra modules leak into environment when u


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1548: Extra modules leak into environment when using -j
Date: Sun, 25 Aug 2019 13:15:42 -0000

#1548: Extra modules leak into environment when using -j
---------------------------------+--------------------
            Reporter:  megane    |      Owner:  (none)
                Type:  defect    |     Status:  new
            Priority:  major     |  Milestone:  5.2
           Component:  compiler  |    Version:  5.0.0
          Resolution:            |   Keywords:  macro
Estimated difficulty:            |
---------------------------------+--------------------

Comment (by felix winkelmann):

 Attached is a patch that seems to fix the problem. The module registration
 code pollutes the global namespace, which doesn't cause problems in import
 libraries, because the loading is wrapped in a `parameterize` form that
 preserves the environment. The patch factors out the preservation into a
 spearate form (`##sys#with-environment`) and wraps the module-registration
 in such a form.

-- 
Ticket URL: <https://bugs.call-cc.org/ticket/1548#comment:6>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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