From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#26639: bug#27057: 26.0.50; Equal defstruct objects not recognized in puthash Date: Wed, 24 May 2017 11:56:25 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495641440 8222 195.159.176.226 (24 May 2017 15:57:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 May 2017 15:57:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Lars Brinkhoff , Michael Albinus To: 27057-done@debbugs.gnu.org, 26639-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 24 17:57:15 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDYex-00021X-If for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 May 2017 17:57:15 +0200 Original-Received: from localhost ([::1]:55626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDYf3-0003aZ-6z for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 May 2017 11:57:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDYep-0003VD-2a for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 11:57:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDYek-0001hD-58 for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 11:57:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33735) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDYek-0001h3-33 for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 11:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dDYej-0003wi-T5 for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 11:57:01 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 May 2017 15:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 26639 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Mail-Followup-To: 26639@debbugs.gnu.org, monnier@iro.umontreal.ca, damien@cassou.me Original-Received: via spool by 26639-done@debbugs.gnu.org id=D26639.149564139415116 (code D ref 26639); Wed, 24 May 2017 15:57:01 +0000 Original-Received: (at 26639-done) by debbugs.gnu.org; 24 May 2017 15:56:34 +0000 Original-Received: from localhost ([127.0.0.1]:36406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDYeH-0003vi-8f for submit@debbugs.gnu.org; Wed, 24 May 2017 11:56:33 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:13773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDYeF-0003vM-R2; Wed, 24 May 2017 11:56:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DPBgCzrCVZ/7vmSC1cGwEBAQMBAQEJAQEBg1VChE2FWoV/kRMBl1ochgIEAgKCbUMVAQIBAQEBAQEBayiFGQZWIxALNBIUGA0lijivLYtAAQEBAQEBBAEBAQEki1mKVgEEniOVFgGJDIZ8lE41IoEKLyAIL4U8HYF/JIlZAQEB X-IPAS-Result: A0DPBgCzrCVZ/7vmSC1cGwEBAQMBAQEJAQEBg1VChE2FWoV/kRMBl1ochgIEAgKCbUMVAQIBAQEBAQEBayiFGQZWIxALNBIUGA0lijivLYtAAQEBAQEBBAEBAQEki1mKVgEEniOVFgGJDIZ8lE41IoEKLyAIL4U8HYF/JIlZAQEB X-IronPort-AV: E=Sophos;i="5.38,386,1491278400"; d="scan'208";a="313485316" Original-Received: from 45-72-230-187.cpe.teksavvy.com (HELO pastel.home) ([45.72.230.187]) by smtp.teksavvy.com with ESMTP; 24 May 2017 11:56:25 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 86F6662DA8; Wed, 24 May 2017 11:56:25 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Wed, 24 May 2017 11:39:56 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:132794 Archived-At: > (progn > (cl-defstruct sm-foo a b) > (setq sm-hash (make-hash-table :test 'equal)) > (puthash (make-sm-foo :a 4 :b 6) "test1" sm-hash) > (puthash (make-sm-foo :a 4 :b 6) "test2" sm-hash) > (hash-table-count sm-hash)) > > this code return 2 here instead of 1. This should be fixed now, Stefan