[tbnl-devel] Jpg/png upload/download issues while using cvs SBCL and "stand-alone" TBNL

Travis Cross travis at crosswirecorp.com
Thu Nov 3 17:01:57 UTC 2005


Ignas Mikalajunas wrote:
>>Thanks for the info.  Does that mean one has to add this to *FEATURES*
>>before building SBCL or just before using TBNL?
> 
> Just before using tbnl.

My experience is that :tbnl-bivalent-streams must be added to *FEATURES*
before TBNL is _built_.

The source code seems to support this notion as the #:+/- checks will
occur at compile time.

It seems that :tbnl-bivalent-streams could be added to features
automatically for SBCL by adding :sbcl to the code block on line 309 of
specials.lisp:

--- specials.lisp.orig  2005-11-03 11:57:39.000000000 -0500
+++ specials.lisp       2005-11-03 11:58:05.000000000 -0500
@@ -309,7 +309,8 @@
 (eval-when (:compile-toplevel :load-toplevel :execute)
   #+(or (and :allegro :allegro-version>= (version>= 6 0))
         :lispworks4.3
-        :lispworks4.4)
+        :lispworks4.4
+       :sbcl)
   (pushnew :tbnl-bivalent-streams *features*))

 #+:sbcl

I would not worry tremendously about breaking older versions of SBCL
because 1) TBNL is already broken on older versions of SBCL and 2) most
SBCL users track pretty close to the latest release.

Cheers,

-- Travis



More information about the Tbnl-devel mailing list