From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QDHkGNqR8GT/twAAauVa8A:P1 (envelope-from ) for ; Thu, 31 Aug 2023 15:12:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QDHkGNqR8GT/twAAauVa8A (envelope-from ) for ; Thu, 31 Aug 2023 15:12:58 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 37669583A5 for ; Thu, 31 Aug 2023 15:12:57 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=unbcloud.onmicrosoft.com header.s=selector1-unbcloud-onmicrosoft-com header.b=FtmARFa6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=unb.ca (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693487578; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=eOWG2AsBGISe+2Iyu8B7L4GD7g1bTOEpDR5505eUGog=; b=uOJmm4NIeBeigJnKc4zHqgqtmX4QkISHfxKz1rzFMLMzbkTBP9x5kt3fVsB8QWFw9OQOS5 3s1w0Mb4z7PFN2Y5pVzPXycogrkDh5OxJ2kI00lFgRQ7yAw+FpUeIqxIrFiBSoChsokjxt Ck3Y/fYPaRKpE/t6kbOBAXRloARE2+izRNIid6lHDhmuq/Ud+6OjPjdlf8zhjsV2DvW1Y1 8sHr0QVcEL3LlLfti8LrriVqurghg9nU/z+UKHO5UHYOEmJTo93XwFoze+ax9vax3STZHS KqU4/R/XfUWD7353OBmR+dABCAIF3ekrRXClr6n9/ENuMeDKSPvlEMy0cNnL2Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=unbcloud.onmicrosoft.com header.s=selector1-unbcloud-onmicrosoft-com header.b=FtmARFa6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=unb.ca (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1693487578; a=rsa-sha256; cv=fail; b=Htbdnceo5SolQF21zmWE+OeU+t2w0EA/6zOt5f2exQljF3JVSy4R24JcROVJcQf3oRFPbx rFnbh31gqSHKVCAl9SK3fHawLnxEUN5FOGSPS0R7aU4E26sRm8AB0iu6IaFXYZfz1l0uK6 G7+P5Hhfk6LAYAZzq8nHObx6359GVW9kYoizs1kZud2Y0uL6O6tFHB1ePHg6BSkg7y1xs8 tsbsLKIyv9nyWL4oVmO/CkfoFUGHT3gyFUTULW+CUfM7aACa4/12LNnDUqudj6nZWyzP/Q yf4Uy58IDkz0HjkrHvITjgseJ2Dxx1x3SJeZn6c3OT/Lrt+t5WW4GBiZQWMfSA== Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D83CA60925; Thu, 31 Aug 2023 13:12:54 +0000 (UTC) Received: from CAN01-YQB-obe.outbound.protection.outlook.com (mail-yqbcan01on2129.outbound.protection.outlook.com [40.107.116.129]) by mail.notmuchmail.org (Postfix) with ESMTPS id 79FF55E019 for ; Thu, 31 Aug 2023 13:12:52 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kFoLDx4kXm/wjqPn1pOz8m+A2xevD5WL6twoC8xyP37Y/8C9UvYSuhmiAZfTnm4ItXFjWT9FER40p+KwWJS8rh4T2Pk1q/lUkHPQJP2kp4CiRj4o7horzpGnKhNnqak5S6kHGvNrj7OqvckUZ2Ro8okIeVn+kCddMyFcW6o+EkGwcMAmU6RwGnJ0mUwBj97yAa2YiUcKOZQlJcJTQU5zUxbiMih6Y1x92WSJVBN9l3b1vVnZcJDdDy9Jzsfl/psJEJIHoQPUxIcTiSrK99ziJoZqX0HJllkmUoxksFDJU+JBusCPJZFv72Y5Gcc2519ydtA5moW3yTDTqvxIcinOBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fX1vXLpm+SueIZLirEW8oJ6GPGE9+M1nT9Yq1EyHpgo=; b=f52TwtEJPbiS2EefbGIPSaGtfPJNTr2RItbRtyloK4Y4qnJJJTZ7eyVX+CyvarBs6ammB14LRH0g0/XN8A6IvR1yrjtwaN4BJxhXCf7EWjEmImUTnyF2z++2GpiVEPTlSCNR1C7Y7gU1uowwfL0dURaZn7pYrL6/7S+ZoCYtav0BFfVRWBt31vOKAzsw11v2gsdIlvd4VAHiuwLIK7nXsEKaPTnXo4edKPWk8EO5ZBN/d9UIszJ9U4fH72ldvIgMXLz55Ro6vQwzQOPbeLYMBHvgEJDizLTcK+QK4/w/zo9+VK75YojCi6FMSP5Yc+sV16ZGSt0yhjoK+1zp58Bytw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=unb.ca; dmarc=pass action=none header.from=unb.ca; dkim=pass header.d=unb.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unbcloud.onmicrosoft.com; s=selector1-unbcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fX1vXLpm+SueIZLirEW8oJ6GPGE9+M1nT9Yq1EyHpgo=; b=FtmARFa6krQeHcUl1f9hd16Xs1EunYC1jVeYpG3NNWRRoGIQR/LSorvIRt89tK4QdoIJ/OmpMIpDgCLiouXdjwpdUbagjST/7CoVo6yg7kCpu3J6PEB0i/hhpOIRKhL/a8Af7hPzwJXx2P9zlsF0IWZji/wLe5ncUmO9xeNwRcQ= Received: from YT3PR01MB10265.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:8d::10) by YT2PR01MB8535.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:b6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.22; Thu, 31 Aug 2023 13:12:49 +0000 Received: from YT3PR01MB10265.CANPRD01.PROD.OUTLOOK.COM ([fe80::1440:78da:52d6:fc7b]) by YT3PR01MB10265.CANPRD01.PROD.OUTLOOK.COM ([fe80::1440:78da:52d6:fc7b%7]) with mapi id 15.20.6745.022; Thu, 31 Aug 2023 13:12:49 +0000 From: David Bremner To: "notmuch@notmuchmail.org" Subject: Re: [PATCH] compat: probe for strcasestr more thoroughly Thread-Topic: [PATCH] compat: probe for strcasestr more thoroughly Thread-Index: AQHZ3AzX8Xg8MaZl70qxDaxxZIgqog== Date: Thu, 31 Aug 2023 13:12:49 +0000 Message-ID: <87ttsfqrse.fsf@motzkin.cs.unb.ca> References: In-Reply-To: Accept-Language: en-CA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: YT3PR01MB10265:EE_|YT2PR01MB8535:EE_ x-ms-office365-filtering-correlation-id: 5a028f73-6329-4acb-f79d-08dbaa23f9fe x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JNCkSDdXzolO24QzEHKB4VNsSGqN3K8DvS/v97GWbIAMk0tO75VUsK9Q+HZER+lVdf+qdZscbwUL5krmM9xGNlCq3AFBFB/fFjNga+7nHhNGYcnbhpjKl06iZJ7WZWlKxHAZoKJmMK5D1nuihqkqsyiNxBqgoIakkzq4dkvKODCQoxqiWM2PVQzHuNrN7uk1ObZp4TUQVXC51V0BUOQ26aDGxSKxq2Tlyc8Tu6pigOJjOX6SwNcyDwKxhyrP6JhmaBWqlEjlDgULddEKrTt6+sNYEwgtUnzaulG6VUf36WVExM5yxMcgAvD86exRukn6GOMlJH9eMCOIPvICuM1fhT5rD/UGshosP0gosoKOhYIxqITPKSETff3D41YVP0bmqnHgGTWjGXnNiPdeZ2cr7SxlM7X0KdDKDf9OSB7o6uC0fdBhl2Hb2BWEDC/MT1Lwehpy9EdZQ0aL+ktfFqZ1XNE3V3uc6buK2nra+otfU0sxxE6CI38PivfWa/8d+X1MRulsW2gLjvG5zeIpv/JhbQpdy6ZjAbLYete9Ao7KfYMihXdfB3L6kHA0ZBRc26FL86FT2KRXCOnHNfpn7Wu4Gf/KtxMIUgPizihzbW0rRXA35Kj5GcZHWSsYEg3gOXKF x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:YT3PR01MB10265.CANPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230031)(136003)(39860400002)(396003)(346002)(366004)(376002)(451199024)(1800799009)(186009)(8676002)(4326008)(786003)(6916009)(316002)(64756008)(66556008)(66446008)(54906003)(91956017)(2906002)(66476007)(4744005)(76116006)(66946007)(8936002)(5660300002)(41300700001)(6506007)(6486002)(26005)(6512007)(38100700002)(38070700005)(122000001)(71200400001)(478600001)(83380400001)(86362001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?TXCnwbI0QmJum70nJCBKfRPqYgMUFmOB2Pc+oDdJ1hk0iDlZ8As89SbfQI?= =?iso-8859-1?Q?22jxEPy4y5IZBPAoYfuThTo6n8B9COlaOhR7i/jLVRAb03M/q52Wz+QP7M?= =?iso-8859-1?Q?8e9WwfQ2w0KZeIVVFeIfEw8AfEwnS+mKvPbkpn7H9lVhJ9MA4UzXD0bMyI?= =?iso-8859-1?Q?U2nftDViQIc7+UXcz5oIFhltxXipapI/q09bbY1FgyfnBh5SsC00qNgNP1?= =?iso-8859-1?Q?8CDOmRGRKzzkzKIWy/lqC1Z3sM5Imqi4WX0eUjm4rO4sw2biRWt3zuym2q?= =?iso-8859-1?Q?uUrluNjyMeUQrP8sJ6qCeg8kjsH+e9R0lmwJw99sm2id+4FOUUElxdLVMj?= =?iso-8859-1?Q?ZVxOf62BsapYxfOZ3rjWULCgBRcDXVWsFehPQRG0jJdGagIDm5jWwaG2QX?= =?iso-8859-1?Q?ypHcrLfY76V7TDrpZlg9f4i7AqFPUx2DhLqWSIQbRPDcODGdf2SYU268dD?= =?iso-8859-1?Q?aFdEfEWCoy5jcX+XwJvX7OeX5UdMAzIwZp7K9mJMXsEV2fpVyxdJE5fFah?= =?iso-8859-1?Q?qHPgRjwxngVNz97lhGGrJbIygExFeUsXlGLTWr0+G38DYRy9i7vZgQtBMW?= =?iso-8859-1?Q?TxRDzDE+1RLdDLrmJqSklucVwzD2q4EAihMIo29b8G/46hkVCStqzW3AaP?= =?iso-8859-1?Q?KXaUwZ2lL836s3oHw4ZauHOsiyR4yhrzD/CoKw43EWGz7r/P10crUf6ZAe?= =?iso-8859-1?Q?QNYB/Lak1Lsiq6cU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-8859-1?Q?ajr85bgLnO07TPVptbzPm4uKQDO1YZqaEh?= MIME-Version: 1.0 X-OriginatorOrg: unb.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YT3PR01MB10265.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 5a028f73-6329-4acb-f79d-08dbaa23f9fe X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Aug 2023 13:12:49.7601 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 244e6ed2-339a-47f3-b95c-e45351c198b7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jP0aM1oIwmFMXgs8Vc70C9slBtdMdiu0Zn08Fqr47P5VaLvedK6WCcKemxiKMyx0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT2PR01MB8535 Message-ID-Hash: A46YR5NJFNYPQU2Z3VGPXQOCTCWJ7KAS X-Message-ID-Hash: A46YR5NJFNYPQU2Z3VGPXQOCTCWJ7KAS X-MailFrom: bremner@unb.ca X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Michael J Gruber , Thomas Schneider , Florian Weimer , Tomi Ollila X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -0.14 X-Spam-Score: -0.14 X-Migadu-Queue-Id: 37669583A5 X-TUID: FKQlx4zGln4n michaeljgruber+grubix+git@gmail.com writes: > From: Michael J Gruber > > Depending on compiler (gcc, g++, clang) and standard options (c99, c11), > string.h may or may not include strings.h, leading to possibly missing > or conflicting declarations of strcasestr. > > Include both so that both detection and compilation phases use the same > (possibly optimised) implementations. applied to release and master