[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sbcl-commits
Subject:    [Sbcl-commits] master: don't close runtime dlhandle on Darwin
From:       "Nikodemus Siivola" <demoss () users ! sourceforge ! net>
Date:       2012-10-07 12:24:49
Message-ID: E1TKpuf-0006PB-73 () sfs-ml-4 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

The branch "master" has been updated in SBCL:
       via  c712f88b26cd7547ee984b90e18c134401335bc3 (commit)
      from  c0569c5f51a82fcd5c6c1bc889e66c8e1c130c71 (commit)

- Log -----------------------------------------------------------------
commit c712f88b26cd7547ee984b90e18c134401335bc3
Author: Nikodemus Siivola <nikodemus@random-state.net>
Date:   Sun Oct 7 15:20:21 2012 +0300

    don't close runtime dlhandle on Darwin
    
      On newish Darwin it works, but some people still run old enough
      version that it won't work. As long as we're not explicitly checking
      for "Darwin new enough?", let's try not to break...
    
      Fixes lp#957385
---
 src/code/unix-foreign-load.lisp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/code/unix-foreign-load.lisp b/src/code/unix-foreign-load.lisp
index 4e42440..dae3126 100644
--- a/src/code/unix-foreign-load.lisp
+++ b/src/code/unix-foreign-load.lisp
@@ -46,9 +46,9 @@
   (dlerror)
   (let (dlerror)
     (cond ((and (not objp) *runtime-dlhandle*)
-           ;; CLH: if we're on darwin/ppc we can't close
+           ;; CLH/NS: if we're on sufficiently old darwin we can't close
            ;; *runtime-dlhandle* for some reason, so don't.
-           #!-(and darwin ppc)
+           #!-darwin
            (dlclose *runtime-dlhandle*)
            (setf dlerror (dlerror)
                  *runtime-dlhandle* nil))

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


hooks/post-receive
-- 
SBCL

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Sbcl-commits mailing list
Sbcl-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sbcl-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic