[cl-prevalence-devel] [patch] serialize-sexp-internal bug: serializing object with no slots

Alexey Voznyuk me at swizard.info
Fri Aug 28 17:21:02 UTC 2009


    Hello!

    I didn't get if the cl-prevalence project is still alive but maybe 
someone will need this patch:

--- serialization.lisp.orig     2009-08-28 21:04:00.624489057 +0400
+++ serialization.lisp  2009-08-28 21:16:44.758777912 +0400
@@ -475,6 +475,7 @@
                       (write-string " . " stream)
                       (serialize-sexp-internal (slot-value object slot) 
stream serialization-state)
-                      (write-string ")" stream))))
-       (write-string " ) )" stream)))))
+                      (write-string ")" stream)))
+          (princ " )" stream))
+       (write-string " )" stream)))))

 ;;; Deserialize CLOS instances and Lisp primitives from the XML 
representation





More information about the Cl-prevalence-devel mailing list