r4833: Auto commit for Debian build
authorKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 6 May 2003 04:59:21 +0000 (04:59 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 6 May 2003 04:59:21 +0000 (04:59 +0000)
debian/changelog
md5.lisp

index 1dec0b31a0cdde5a118992ab8f94447f24c10520..6da285ed3d5a6fd17a259225d91b761f2f249df1 100644 (file)
@@ -1,6 +1,7 @@
 cl-md5 (1.8.1-1) unstable; urgency=low
 
   * Improve .asd file
 cl-md5 (1.8.1-1) unstable; urgency=low
 
   * Improve .asd file
+  * Add eval-when's for AllegroCL compatibility
 
  -- Kevin M. Rosenberg <kmr@debian.org>  Mon,  5 May 2003 22:56:32 -0600
 
 
  -- Kevin M. Rosenberg <kmr@debian.org>  Mon,  5 May 2003 22:56:32 -0600
 
index 0aac5f60b8beb80506a5b3a523a1279000a2cab2..7349948d7b8389abe955293cd8569f4b32b0ef1e 100644 (file)
--- 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.
 ;;;;
 ;;;; 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,
 ;;;;
 ;;;; 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)))
 
       (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+))
 
 
 (deftype buffer-index () `(integer 0 ,+buffer-size+))