From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#50507: New function in Emacs GnuTLS implementation Date: Mon, 03 Oct 2022 09:40:56 +0200 Message-ID: <8735c5bbhz.fsf@gmail.com> References: <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> <837d1ldlv3.fsf@gnu.org> <87a66haq6n.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29610"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50507@debbugs.gnu.org, Eli Zaretskii , larsi@gnus.org To: Nikolaos Chatzikonstantinou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 03 09:42:20 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 1ofG5j-0007WP-Vs for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Oct 2022 09:42:20 +0200 Original-Received: from localhost ([::1]:34960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofG5i-0005nS-Pk for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Oct 2022 03:42:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofG5S-0005nI-Sz for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 03:42:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49756) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofG5S-0001J5-9d for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 03:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofG5R-0008PJ-WD for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2022 03:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Oct 2022 07:42: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.166478286632253 (code B ref 50507); Mon, 03 Oct 2022 07:42:01 +0000 Original-Received: (at 50507) by debbugs.gnu.org; 3 Oct 2022 07:41:06 +0000 Original-Received: from localhost ([127.0.0.1]:48834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofG4Y-0008O9-1B for submit@debbugs.gnu.org; Mon, 03 Oct 2022 03:41:06 -0400 Original-Received: from mail-wr1-f45.google.com ([209.85.221.45]:36759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofG4W-0008NW-8X for 50507@debbugs.gnu.org; Mon, 03 Oct 2022 03:41:04 -0400 Original-Received: by mail-wr1-f45.google.com with SMTP id j7so10023249wrr.3 for <50507@debbugs.gnu.org>; Mon, 03 Oct 2022 00:41:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=PxYhZecjzqB9ybYWt0Odnm/CeBHBp5omD0ztcZ/TmXw=; b=L/HIYnQqbySzS4KP8C9rr2ofPu2vwyNXYA+pu0Rge62oK3yuaJnU2spqEEasCBYyJc bWnpyZbqOrNz4lscXV+LYftEBara6aPJrmkGNWXl8vLuEdMQTivBd+ZuzjCPFwIM5nV3 pIiRPdxibEKcxaXyIU9z3fs4FOFFpn+L655g5z6ekt0+7L/4SH9/LRIPJZRMXSPHLo08 AwgJYM6LR1rFrwvilEw4Wx7+LW3PCzqcZgJMg4h4lxWf1ZoxXe0Us2ndOTqHJSS1fHrt v3/tgqil20IP/ckWQReUTeJLP+28YOePVsMyVuCDXsL53hD90raurkt8usGH28qEW7/m xe+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=PxYhZecjzqB9ybYWt0Odnm/CeBHBp5omD0ztcZ/TmXw=; b=bPTirlmEHTI2RupFzIkIQVz8k4gMpzgzLg2fVMmYWkj+SDrAfT71L8MmhQBd/WMlQV /tV2fjkeYlm3iDbpn068DyhcxPgXmu9SNvfrMe7KT8LMzRWZoFTXiygosID33DLKlN48 re6bfKAEf8F0LtD7X10r2RlVLYJw5ZQCk9KPtkIH6v61yeZjyasFd5oYuX6OyvjLYLKi YKOIyJUsO2TU7KoKamxBzYybMrq0gNi+tsJNFyVWCch0oy25VuF2hevMesyPP7a0LPaA yMTFJyQ//NlkQJxAMI0FK4jmeJ4HxOFp9S+zcWlsGu8xcn9beKccyUT/I2GeyWfX/BkO HEwA== X-Gm-Message-State: ACrzQf1VkXLOoyQDMfFTeBB/tjn3C0DoHAfQ9FYECmqzh2tgnYh4sN4H T8fDjSw2QT3Muzp/WWHJtqE= X-Google-Smtp-Source: AMsMyM5cqfP/zacVciJ3iDyhkzhG6ecNn/qXP10BgtgCD1EoM9by5/v5NBrV3q2oDwjFsKs0WVoMzA== X-Received: by 2002:a5d:64c7:0:b0:22e:43a6:2801 with SMTP id f7-20020a5d64c7000000b0022e43a62801mr807892wri.612.1664782858173; Mon, 03 Oct 2022 00:40:58 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:b0c6:e2e:8ddc:c47f]) by smtp.gmail.com with ESMTPSA id i13-20020a5d55cd000000b0022ae59d472esm8792157wrw.112.2022.10.03.00.40.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Oct 2022 00:40:56 -0700 (PDT) In-Reply-To: (Nikolaos Chatzikonstantinou's message of "Fri, 30 Sep 2022 12:22:16 -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:244288 Archived-At: >>>>> On Fri, 30 Sep 2022 12:22:16 -0400, Nikolaos Chatzikonstantinou said: Nikolaos> #if COND Nikolaos> if (something) Nikolaos> foo(); Nikolaos> else Nikolaos> bar(); Nikolaos> #else Nikolaos> bar(); Nikolaos> #endif Nikolaos> To be rewritten as Nikolaos> #if COND Nikolaos> if (something) Nikolaos> foo(); Nikolaos> else Nikolaos> #endif Nikolaos> bar(); Nikolaos> Because in this case, I don't trust that kind of code to surv= ive the Nikolaos> test of time. Someone may come along and break it by modifyin= g the Nikolaos> bar() line, and it might be a sneaky bug. It's not easy to te= ll. In the first version there=CA=BCs the risk that one of the calls to 'bar' will be changed and the other missed. In the second version there=CA=BCs only one 'bar' to change. If someone changes the 'bar' code so it doesn=CA=BCt compile under COND, that=CA=BCs immediately obvious. Robert --=20