From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Fgnutls_available_p: Avoid duplicating capabilities. Date: Thu, 3 Nov 2022 04:44:21 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ef1be605ec88c768" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12870"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 03 04:45:48 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oqRAp-0003DO-3u for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Nov 2022 04:45:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqRA7-0001xX-3T; Wed, 02 Nov 2022 23:45:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqRA5-0001wP-PL for emacs-devel@gnu.org; Wed, 02 Nov 2022 23:45:01 -0400 Original-Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oqRA4-0003iD-AI for emacs-devel@gnu.org; Wed, 02 Nov 2022 23:45:01 -0400 Original-Received: by mail-ej1-x62a.google.com with SMTP id y14so2009869ejd.9 for ; Wed, 02 Nov 2022 20:44:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=SVsEfAw03QHnI46t1QOPb9HYTpOp9/EG/xgzOBquvdI=; b=iVfj40VoY2FUm/7CjRHGnZcED7GJTRK5uixM6OEVqMrEcSzeQPiCs6U9+qQx2B3/GD K4YbjDFRalHkzWRMY65ABBIyTNmvMekhSf7PojWVV49J9pUFO2eK95yJdACXj1wXTuKX J0SFz5MIFQ4oj+u4hyF9vGSc0BM6+i9+ZW8vjOK2FFUYNQtjH3Rh735kXLZbN+h8oh2s zSxrWoYA5z9xXYSzGDULCxKkieLc+F3elGe+LoyS9cWihbyxv1c2+Ph62GsaOd9gCMZn UyWHL1j+tnrH/r+JiSiJzPd2qvouWTH2ZFH5V0mSS9CDAEGU+kD3OFqaro8ifey0LI21 Gsig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SVsEfAw03QHnI46t1QOPb9HYTpOp9/EG/xgzOBquvdI=; b=50Erba4Cdbg6EJIgXauSF2IaKXNUtFTk+Iw4AKcyC1UUuRNcZcImDNMSqqb5sS7UDu xvyGqHJt8U9f48Pnom4XPLlTFj/mTjyAmHv+ZeC/3q8HkOI6cT2keqMBa7Bgcsq+BEoZ INVYH6g0fxgEjgxDfb+UFm3WkhwOJp50rOUi80DQHVQERWXm8tWPBWrcwNZRMet5UaeC hukP5sAe6NLvEguYnm+APGwJDKi5AtXqf9JAD9ORibRhEzJWtBSCab9X/MfaX15X4IiV 7Lf4k9ktR76PpRx2OqhHCzUKKCSFpbrr+iFvYnTKTSyYFSKTuI3tCM/qt1YZgv2XBDKL 7Xcw== X-Gm-Message-State: ACrzQf0CxS24m4787W6fUQEHm8D1IrVuNSwPpTWkZJfPF/V/Q8jPO/1m zdv2q/mgjSwrTgdilAPsH96Rfsct4CJ/xgJbFChUBym3KEs191Ah X-Google-Smtp-Source: AMsMyM41W74P+J9t0gt1Mb+eQwUEHWSCpKVitAMp4jR7dnYHuij64bKxyntQE95WZoMHe5y9XJ1zexGswtjbzIrOrO0= X-Received: by 2002:a17:906:4b10:b0:7ad:c7c4:c20e with SMTP id y16-20020a1709064b1000b007adc7c4c20emr20159371eju.592.1667447097595; Wed, 02 Nov 2022 20:44:57 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=lekktu@gmail.com; helo=mail-ej1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299056 Archived-At: --000000000000ef1be605ec88c768 Content-Type: text/plain; charset="UTF-8" Obviously, this bit in the last patch: + if (NILP (Fmemq (cap, capabilities))) + capabilities = Fcons (intern(name), capabilities); was meant to be + if (NILP (Fmemq (cap, capabilities))) + capabilities = Fcons (cap, capabilities); Note to self: DO NOT try to make patches at 4:40am. --000000000000ef1be605ec88c768 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Obviously, this bit in the last patch:

+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if (NILP (F= memq (cap, capabilities)))
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 capabilities =3D Fcons (intern(name), capabilities);

was meant to be

<= div class=3D"gmail_default">+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if (NILP (Fmemq (cap, capabiliti= es)))
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 capabilities =3D= Fcons (cap, capabilities);


N= ote to self: DO NOT try to make patches at 4:40am.
--000000000000ef1be605ec88c768--