X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src.lisp;h=6e7bee10bd5dc98ba0bb8d4097cd5ca720da0285;hb=09a2d5d0bdc3ab1fbd9ce3f4a71020d3dc5f5de5;hp=eaf599a8b4953bacdb77b290f2cc26f1a33765f5;hpb=ccfeb8799cab1bba23f41ab1e18bd6d1700ab731;p=puri.git diff --git a/src.lisp b/src.lisp index eaf599a..6e7bee1 100644 --- a/src.lisp +++ b/src.lisp @@ -22,10 +22,11 @@ ;; Original version from ACL 6.1: ;; uri.cl,v 2.3.6.4.2.1 2001/08/09 17:42:39 layer ;; -;; $Id: src.lisp,v 1.9 2003/07/20 18:51:48 kevin Exp $ +;; $Id$ (defpackage #:puri (:use #:cl) + #-allegro (:nicknames #:net.uri) (:export #:uri ; the type and a function #:uri-p @@ -92,10 +93,11 @@ (lisp::shrink-vector str size) #+lispworks (system::shrink-vector$vector str size) - #+(or allegro cmu sbcl lispworks) - str - #-(or allegro cmu sbcl lispworks) - (subseq str 0 size)) + #+scl + (common-lisp::shrink-vector str size) + #-(or allegro cmu lispworks sbcl scl) + (setq str (subseq str 0 size)) + str) ;; KMR: Added new condition to handle cross-implementation variances