From gugamilare at gmail.com Sun Sep 2 04:10:16 2007 From: gugamilare at gmail.com (Gustavo) Date: Sun, 2 Sep 2007 01:10:16 -0300 Subject: [cl-store-devel] Sort of a bug Message-ID: <4be8713d0709012110u3d7cce91m57729fc7f2e78a6a@mail.gmail.com> I hope this project is still running because I really liked it. If it is not active anymore, I could (maybe in a month) enhance and try to do at least what is in the file "todo" and create a way to serialize functions... I use SBCL under Gentoo Linux. Well, I use the gentoo specific version of SBCL, so, when you call (lisp-implementation-version), it returns " 1.0.9-gentoo". Inside the file cl-store/sbcl/custom.lisp, there is this piece of code: ;; From 0.9.6.25 sb-kernel::%defstruct ;; takes a source location as a third argument. (eval-when (:compile-toplevel) (labels ((make-version (string) (map-into (make-list 4 :initial-element 0) #'parse-integer (asdf::split string nil '(#\.)))) (version>= (v1 v2) (loop for x in (make-version v1) for y in (make-version v2) when (> x y) :do (return t) when (> y x) :do (return nil) finally (return t)))) (when (version>= (lisp-implementation-version) "0.9.6.25") (pushnew :defstruct-has-source-location *features*)))) So, the parse-integer signals an error (because of the "-gentoo" text inside the version). Well, I don't know if you like it but this solves the problem: ;; From 0.9.6.25 sb-kernel::%defstruct ;; takes a source location as a third argument. (eval-when (:compile-toplevel) (labels ((make-version (string) (map-into (make-list 4 :initial-element 0) #'(lambda (str) (parse-integer str :junk-allowed t)) (asdf::split string nil '(#\.)))) (version>= (v1 v2) (loop for x in (make-version v1) for y in (make-version v2) when (> x y) :do (return t) when (> y x) :do (return nil) finally (return t)))) (when (version>= (lisp-implementation-version) "0.9.6.25") (pushnew :defstruct-has-source-location *features*)))) -------------- next part -------------- An HTML attachment was scrubbed... URL: From ctdean at sokitomi.com Sun Sep 2 06:42:45 2007 From: ctdean at sokitomi.com (Chris Dean) Date: Sat, 01 Sep 2007 23:42:45 -0700 Subject: [cl-store-devel] Sort of a bug In-Reply-To: <4be8713d0709012110u3d7cce91m57729fc7f2e78a6a@mail.gmail.com> (Gustavo's message of "Sun, 2 Sep 2007 01:10:16 -0300") References: <4be8713d0709012110u3d7cce91m57729fc7f2e78a6a@mail.gmail.com> Message-ID: Gustavo writes: > I hope this project is still running because I really liked it. If > it is not active anymore, I could (maybe in a month) enhance and try > to do at least what is in the file "todo" and create a way to > serialize functions... It is active, but it does what I (and others) want so there's not a huge amount of activity. Having said that I, for one, would welcome any improvements :). > I use SBCL under Gentoo Linux. Well, I use the gentoo specific version of > SBCL, so, when you call (lisp-implementation-version), it returns " > 1.0.9-gentoo". That seems like a bug and the fix seems fine to me, but Sean will chime in and tell us the real story. Cheers, Chris Dean From rosssd at gmail.com Mon Sep 3 16:57:27 2007 From: rosssd at gmail.com (Sean Ross) Date: Mon, 3 Sep 2007 18:57:27 +0200 Subject: [cl-store-devel] Sort of a bug In-Reply-To: References: <4be8713d0709012110u3d7cce91m57729fc7f2e78a6a@mail.gmail.com> Message-ID: <5bef28df0709030957t4a2d59aap3f662f4c171ca2cb@mail.gmail.com> Sorry about the delay guys, I'm currently off on leave and am back in South Africa till the 7th of September. Definitely a bug, you know what they say about assumptions, so I'll apply a patch when I return. cheers, sean. On 9/2/07, Chris Dean wrote: > > Gustavo writes: > > I hope this project is still running because I really liked it. If > > it is not active anymore, I could (maybe in a month) enhance and try > > to do at least what is in the file "todo" and create a way to > > serialize functions... > > It is active, but it does what I (and others) want so there's not a > huge amount of activity. Having said that I, for one, would welcome > any improvements :). > > > I use SBCL under Gentoo Linux. Well, I use the gentoo specific version of > > SBCL, so, when you call (lisp-implementation-version), it returns " > > 1.0.9-gentoo". > > That seems like a bug and the fix seems fine to me, but Sean will > chime in and tell us the real story. > > Cheers, > Chris Dean > _______________________________________________ > cl-store-devel mailing list > cl-store-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-store-devel > From rosssd at gmail.com Mon Sep 17 19:49:16 2007 From: rosssd at gmail.com (Sean Ross) Date: Mon, 17 Sep 2007 20:49:16 +0100 Subject: [cl-store-devel] Sort of a bug In-Reply-To: <5bef28df0709030957t4a2d59aap3f662f4c171ca2cb@mail.gmail.com> References: <4be8713d0709012110u3d7cce91m57729fc7f2e78a6a@mail.gmail.com> <5bef28df0709030957t4a2d59aap3f662f4c171ca2cb@mail.gmail.com> Message-ID: <5bef28df0709171249x39cd762bhfae00c9b1f2b90c3@mail.gmail.com> Hi all, sorry for the delay. I've just applied the patch and upped the version number to 0.7.11 this is currently only available in CVS but a release will be forthcoming. Cheers, Sean. On 9/3/07, Sean Ross wrote: > Sorry about the delay guys, I'm currently off on leave and am back in > South Africa till the 7th of September. > > Definitely a bug, you know what they say about assumptions, > so I'll apply a patch when I return. > > cheers, > sean. > > On 9/2/07, Chris Dean wrote: > > > > Gustavo writes: > > > I hope this project is still running because I really liked it. If > > > it is not active anymore, I could (maybe in a month) enhance and try > > > to do at least what is in the file "todo" and create a way to > > > serialize functions... > > > > It is active, but it does what I (and others) want so there's not a > > huge amount of activity. Having said that I, for one, would welcome > > any improvements :). > > > > > I use SBCL under Gentoo Linux. Well, I use the gentoo specific version of > > > SBCL, so, when you call (lisp-implementation-version), it returns " > > > 1.0.9-gentoo". > > > > That seems like a bug and the fix seems fine to me, but Sean will > > chime in and tell us the real story. > > > > Cheers, > > Chris Dean > > _______________________________________________ > > cl-store-devel mailing list > > cl-store-devel at common-lisp.net > > http://common-lisp.net/cgi-bin/mailman/listinfo/cl-store-devel > > >