X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=strings.lisp;h=08aec10ea8e92262ebcb92097ab5effab402f63c;hb=f622f091a8648cac7e1e41a5207184c8618a19d5;hp=bf10d058b85d29ba1da086f9cbc00195ce58540b;hpb=6729a4cf6ca2361b36a8ada705e7325b62c2fe54;p=kmrcl.git diff --git a/strings.lisp b/strings.lisp index bf10d05..08aec10 100644 --- a/strings.lisp +++ b/strings.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: strings.lisp,v 1.41 2003/06/15 07:48:30 kevin Exp $ +;;;; $Id: strings.lisp,v 1.42 2003/06/15 13:49:42 kevin Exp $ ;;;; ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -392,11 +392,11 @@ for characters in a string" (not (alphanumericp ch))) (defvar +hex-chars+ "0123456789ABCDEF") -(declaim (type (simple-array character 16) +hex-chars+)) +(declaim (type simple-string +hex-chars+)) (defun hexchar (n) (declare (type (integer 0 15) n)) - (aref +hex-chars+ n)) + (schar +hex-chars+ n)) (defun escape-uri-field (query) "Escape non-alphanumeric characters for URI fields"