From 9cb5c7a20f6610a83e26dff267127ac547986ece Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Sun, 14 Feb 1993 16:38:39 +0000
Subject: [PATCH] If bootstrapping, set the layout-info in the old layout when
 null.

---
 code/defstruct.lisp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/code/defstruct.lisp b/code/defstruct.lisp
index 9908b756c..9a237a633 100644
--- a/code/defstruct.lisp
+++ b/code/defstruct.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.37.1.7 1993/02/13 19:10:17 ram Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/defstruct.lisp,v 1.37.1.8 1993/02/14 16:38:39 ram Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -1093,6 +1093,9 @@
 				   :inheritance-depth (length inherits)
 				   :length (dd-length info)
 				   :info info)))
+      #+ns-boot
+      (when (and old-layout (not (layout-info old-layout)))
+	(setf (layout-info old-layout) info))
       (if (or (not old-layout)
 	      (let ((old-info (layout-info old-layout)))
 		(or (redefine-layout-warning old-layout old-context
-- 
GitLab