From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50507: New function in Emacs GnuTLS implementation Date: Fri, 30 Sep 2022 16:37:20 +0300 Message-ID: <837d1ldlv3.fsf@gnu.org> References: <83ee9wiozc.fsf@gnu.org> <87sflkgy49.fsf@gnus.org> <87edwd15ck.fsf@gnus.org> <87tu4u8kjv.fsf@gnus.org> <878rm69hop.fsf@gmail.com> <87v8p7d4oq.fsf@gmail.com> <87a66id03q.fsf@gmail.com> <875yh6cly4.fsf@gmail.com> <83ill5dtqt.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39406"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50507@debbugs.gnu.org, rpluim@gmail.com, larsi@gnus.org To: Nikolaos Chatzikonstantinou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 30 15:52:58 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeGRl-000A2P-Rc for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Sep 2022 15:52:57 +0200 Original-Received: from localhost ([::1]:60936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeGRk-0004gf-Hz for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Sep 2022 09:52:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeGDL-0002za-5j for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 09:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41784) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeGDK-0006wp-Fm for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 09:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeGDJ-00012F-TG for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 09:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Sep 2022 13:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 50507-submit@debbugs.gnu.org id=B50507.16645450733965 (code B ref 50507); Fri, 30 Sep 2022 13:38:01 +0000 Original-Received: (at 50507) by debbugs.gnu.org; 30 Sep 2022 13:37:53 +0000 Original-Received: from localhost ([127.0.0.1]:40862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeGDB-00011t-40 for submit@debbugs.gnu.org; Fri, 30 Sep 2022 09:37:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeGD7-00011X-4H for 50507@debbugs.gnu.org; Fri, 30 Sep 2022 09:37:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44826) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeGCz-0006uv-Ri; Fri, 30 Sep 2022 09:37:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HmNg+8usnBhJkzuTKaESe+Pei98MCRRYhNLgnJmu74s=; b=dXQOpo917Jlt 7BhPyROSV7dgvQOuWjfMRRShAxmc+70SMfTNsSaSpPqkjybXIaUe61cUp1e3cd4lG/cJqSvKRSeUv +x/KJlQgb3AqnMOtFmdiornCAXMPJxeecW7kDLX4r5gwy4qX4v5RQ/ejI6OKFspjlzs4nmV6OqyWf vh6pKO26FHMzlHr2Mq31gWU8t4l0KMWyF1NAOED/5wQIsc+Effn4Y2a5DZh7feGEG6G2bLgs//XdC N+ZBUhVZUlPxLtXKJPyI0aXG5wYHbh5RrkZjhLjpSQuhBZCfxr+WUgzJUU/GI7WcfhMj5LZPE3TGx c213lBuG7iFQiRWWV45ltA==; Original-Received: from [87.69.77.57] (port=2037 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeGCr-00043U-Fz; Fri, 30 Sep 2022 09:37:38 -0400 In-Reply-To: (message from Nikolaos Chatzikonstantinou on Fri, 30 Sep 2022 09:01:06 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244014 Archived-At: > From: Nikolaos Chatzikonstantinou > Date: Fri, 30 Sep 2022 09:01:06 -0400 > Cc: rpluim@gmail.com, 50507@debbugs.gnu.org, larsi@gnus.org > > On Fri, Sep 30, 2022 at 6:47 AM Eli Zaretskii wrote: > > > > > I went with intern. > > > > Why not use DEFSYM and then compare against the static symbols? That > > is more efficient, since the intern call is avoided at run time. > > I did not understand the differences between DEFSYM() and > intern(). Can DEFSYM() be used outside of syms_of_gnutls()? Why do you need to use DEFSYM outside of syms_of_gnutls?