From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Han-Wen Nienhuys Newsgroups: gmane.lisp.guile.devel Subject: test for weak + struct bug Date: Wed, 1 Sep 2004 00:11:27 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <16692.63375.311826.117399@byrd.xs4all.nl> Reply-To: hanwen@xs4all.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1093990342 15566 80.91.224.253 (31 Aug 2004 22:12:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Aug 2004 22:12:22 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Sep 01 00:12:10 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C2GrJ-0002zB-00 for ; Wed, 01 Sep 2004 00:12:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2GwB-0003Ig-Ur for guile-devel@m.gmane.org; Tue, 31 Aug 2004 18:17:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2Gvk-0003Dh-Hl for guile-devel@gnu.org; Tue, 31 Aug 2004 18:16:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2Gvh-0003Cm-Nz for guile-devel@gnu.org; Tue, 31 Aug 2004 18:16:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2Gvh-0003CW-EF for guile-devel@gnu.org; Tue, 31 Aug 2004 18:16:41 -0400 Original-Received: from [213.84.26.127] (helo=byrd.xs4all.nl) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C2Gqg-0008QK-BJ for guile-devel@gnu.org; Tue, 31 Aug 2004 18:11:30 -0400 Original-Received: from byrd.xs4all.nl.byrd.xs4all.nl (byrd [127.0.0.1]) by byrd.xs4all.nl (8.13.0/8.13.0) with ESMTP id i7VMBReD012760 for ; Wed, 1 Sep 2004 00:11:27 +0200 Original-To: guile-devel@gnu.org X-Mailer: VM 7.14 under Emacs 21.3.1 X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner: Found to be clean X-MailScanner-From: hanwen@xs4all.nl X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:4058 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4058 here is a shorter test case for Kevin's bug, in case anyone is interested in adding it to the test suite. The display should be replaced by a suitable check. (define rec-type (make-record-type "foo" '())) (define h (make-weak-value-hash-table 61)) (hash-set! h "foo" ((record-constructor rec-type))) (gc) (display (hash-ref h "foo")) -- Han-Wen Nienhuys | hanwen@xs4all.nl | http://www.xs4all.nl/~hanwen _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel