Problem with SBCL 1.0

"Leonardo Varuzza" <[email protected]> Tue, 12 Dec 2006 10:06:54 -0200
Newsgroups gmane.lisp.clg.devel
Message-ID <[email protected]>
clg has a little problem checking the version of SBCL 1.0, because of
the missing last digit in the version number.

I made a little patch to correct this.


-- 
"Lisp isn't a language, it's a building material." - Alan Kay

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Clg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clg-devel
check_version.patch (text/x-diff, 633 B)
--- orig/tools/config.lisp	2006-04-10 14:42:42.000000000 -0300
+++ tools//config.lisp	2006-12-11 12:10:21.000000000 -0200
@@ -123,7 +123,9 @@
       (values 
        (parse-integer (lisp-implementation-version) :end dot1)
        (parse-integer (lisp-implementation-version) :start (1+ dot1) :end dot2)
-       (parse-integer (lisp-implementation-version) :start (1+ dot2) :junk-allowed t))))
+       (if dot2
+	   (parse-integer (lisp-implementation-version) :start (1+ dot2) :junk-allowed t)
+	   0))))
   (defun sbcl>= (req-major req-minor req-micro)
     (multiple-value-bind (major minor micro) (sbcl-version)      
       (or