From: Kevin M. Rosenberg Date: Tue, 6 May 2003 04:59:21 +0000 (+0000) Subject: r4833: Auto commit for Debian build X-Git-Tag: v1.8.5~10 X-Git-Url: http://git.kpe.io/?p=md5.git;a=commitdiff_plain;h=4af6b44d218425b37b3314aa6de84653a54f3736 r4833: Auto commit for Debian build --- diff --git a/debian/changelog b/debian/changelog index 1dec0b3..6da285e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ cl-md5 (1.8.1-1) unstable; urgency=low * Improve .asd file + * Add eval-when's for AllegroCL compatibility -- Kevin M. Rosenberg Mon, 5 May 2003 22:56:32 -0600 diff --git a/md5.lisp b/md5.lisp index 0aac5f6..7349948 100644 --- a/md5.lisp +++ b/md5.lisp @@ -5,7 +5,7 @@ ;;;; cmucl-help mailing-list hosted at cons.org, in November 2001 and ;;;; has been placed into the public domain. ;;;; -;;;; $Id: md5.lisp,v 1.4 2003/05/06 04:57:43 kevin Exp $ +;;;; $Id: md5.lisp,v 1.5 2003/05/06 04:59:21 kevin Exp $ ;;;; ;;;; While the implementation should work on all conforming Common ;;;; Lisp implementations, it has only been optimized for CMU CL, @@ -509,9 +509,10 @@ simple-arrays with such element types." (update-md5-state state sequence :start start :end real-end)) (finalize-md5-state state))) -(defconstant +buffer-size+ (* 128 1024) - "Size of internal buffer to use for md5sum-stream and md5sum-file -operations. This should be a multiple of 64, the MD5 block size.") +(eval-when (:compile-toplevel :load-toplevel :execute) + (defconstant +buffer-size+ (* 128 1024) + "Size of internal buffer to use for md5sum-stream and md5sum-file +operations. This should be a multiple of 64, the MD5 block size.")) (deftype buffer-index () `(integer 0 ,+buffer-size+))