delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/12/18/17:42:33

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4BIMgXXS643693
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4BIMgXXS643693
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=wTmNJX21
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 228563858CDB
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1734561752;
bh=GDEcAQMEZuKF809ZL2bOjUBDUr+7lmsjcQilOTnPgn8=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=wTmNJX21vtllTHBAE5uaA9R4fXKsA76vs1pK+L0GVVke9Q3XuL3m5Cvn49BOQ7E6K
5SEmFXsiofTuhKGmrDSiyNthSacjEoQyokqsjQw10KK/I3RYY5L5TzU3HDNNNMdKuO
BTzPevCH4EWzUE8tMS2UDRx8/W9vf0gtskz5G0z0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 28C493858C54
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 28C493858C54
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1734561708; cv=pass;
b=sntQjVQg170XwGYSFinCcFH1aLVMuPM/bx19MXeDRA/PhkX+JHu1YFFoSOb8A08pQX1ob+p8ofNHvgowCQHV4YP1aWvu0gQdU8mbW/9xmHrTIkNLnlPfvQGI3fPStgIR/Hc312qHv6NcFxMykSSlA4InZKssYNPntOyMzxN19oQ=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
t=1734561708; c=relaxed/simple;
bh=Zmg4Ek7T24L/P6UBhhr0lZasYzEKK5jD0jmiibQw1W4=;
h=DKIM-Signature:Message-ID:Date:Subject:To:From:MIME-Version;
b=kjmhhJC9DMR2Sa/2/t3cZhStKSIrn3sTBnkiWgDSg9LrUzu/DwRC6zkYbhyqzIc3VJk7QysC8f07KYi2Dyql6XVp2dcmwzwadmgh640hPN32IVOaLqLuzyhVHU7ZA4hwo7xQwX4IIQGLU182X2a05lOjPFOZQHO0xejVpoEV+kM=
ARC-Authentication-Results: i=2; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 28C493858C54
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
b=tft4WHw1aHBhqbL0Rla/kwdh7GZAZN44gb2cXI+ddXBvNJWJZV9jEcgcIRncnd8xtG1mnDwSe503OXsVNgnrrZaGuSIB+iVmDcFlGd8Tr7LlLamByWjBKqg66s2wUqZq7Q0uJE1xLzcOTk9Rbo7JFF8yLv/WPHH3GgAHeFQgbkv0AQWZ0WXpnw7FjlSWmklsTWEJJrORs3anzphGEo5JVjYGdep2EXZAa89m3iMgCVYjaPKb4YKrXYHSSkxg6bNHvVYM0XhVJC8CsGK1ON/u7Uw+XgZ7uhm7h6Ihg/3JPMyLEe1VP3aN9MWnbOJpqY1jRSsEFgm2peD2xNpWSZ1G5A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector10001;
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=vvjdNfexZp22C9553MnSO3zAwql7MAX83+m7aTQ00Ko=;
b=dYcRLV/VDR7n0+PdD2XuXld0XZTo6vuwqzh/f32+0KU6BSKm/jC6V4SI1HP0j1pVM729/Aet8pg5urOmSiY1TMAcWFLHpSajL3NDk9hcM2i3tax7R/mKaPhgF2GO8aazq/B6/6wQyxjx9OEEmPZ4GSl8dFmPGM/sR09as3lkfG36GjLxkDN2KiMlfU2jPonelYNu7BxBe2sqRCm/fTtSaSNqfIgZSOpwiWTHrY9RPA3vO0zjUMXcD69KfmTOtVU/qF+/y1M8GNWemwhWUO2FV48dcYvnCHq+3PQTULet8CpVk3G7f3aZkhC2XOQvXN8YeH1fAVwOO2IqyksEzRHbhw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Message-ID: <c4c2a666-4f29-4f42-a291-b4c24324867d@cornell.edu>
Date: Wed, 18 Dec 2024 17:41:44 -0500
User-Agent: Mozilla Thunderbird
Subject: Re: Atomic mmap replacement
To: matthew patton <pattonme AT yahoo DOT com>,
The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <66bf4f86-4618-b9a3-3e33-2c240b9204d0 AT cornell DOT edu>
<20180219090042 DOT GC3417 AT calimero DOT vinschen DOT de>
<e6b3bd42-f981-405e-b65b-529693598735 AT cornell DOT edu>
<d84f7f6c-5527-4f39-83a5-1aa16d8e451f AT cornell DOT edu>
<Z2AsCg7Oo4FyHFjG AT calimero DOT vinschen DOT de>
<b7564609-6a87-4691-b5ec-1f56b51543df AT cornell DOT edu>
<bb796c13-c2b7-48a0-899b-cc7485fee783 AT cornell DOT edu>
<Z2GpCxIUDMqp6yen AT calimero DOT vinschen DOT de>
<cbeac0c9-70a1-4be9-acbb-eceadfde2e1e AT cornell DOT edu>
<Z2LcCIToHJ8Xc0VV AT calimero DOT vinschen DOT de>
<b060fb24-ba47-45f6-95b1-cad18aa01df6 AT cornell DOT edu>
<462215122 DOT 2737714 DOT 1734558919149 AT mail DOT yahoo DOT com>
In-Reply-To: <462215122.2737714.1734558919149@mail.yahoo.com>
X-ClientProxiedBy: BL1P221CA0004.NAMP221.PROD.OUTLOOK.COM
(2603:10b6:208:2c5::15) To SN6PR04MB5151.namprd04.prod.outlook.com
(2603:10b6:805:90::25)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: SN6PR04MB5151:EE_|BL3PR04MB8010:EE_
X-MS-Office365-Filtering-Correlation-Id: fcab2785-fc30-4da0-3ebe-08dd1fb526cd
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|366016;
X-Microsoft-Antispam-Message-Info: =?utf-8?B?U2tSYWRNZFNuMFdIckwwcS9WSFVJOVVkMEdPTU5rRTg4QkZHeGFlZ0psMVRt?=
=?utf-8?B?SXZNbHpxOTZQL3N5R2tPNk9CcnRidDJYYkY4R2lNU1paY2VxRWk0K1E2MktW?=
=?utf-8?B?dkJBdkVRQTdXUXovZk5PNUhPeSt3QVBISTFkZUhvRzA1N0xjMEIrdS94WG5o?=
=?utf-8?B?SzVjR01HVExYWitUWE1OODdoNHZxeU9jSEpXUXJUakprRkp4TmdMd0ZGU1FN?=
=?utf-8?B?SWs1Q3RwYUowbDJNU3pBVldUbVdFejgxdGlrTFVUNXU5NXU0bDNnNDNUM0Yr?=
=?utf-8?B?OXJxdUwyN3hSVWFSeldobzVZaE1PK0VTZkxsaWJsY1ZMYnBNU2pCaDF0aDAr?=
=?utf-8?B?YmFSbllkWTNwdGFBNFBKc1BvSGlhc3JxbnFNTDJwRk14bDd6WUMvTmwwSTJi?=
=?utf-8?B?OTVFYS9XOUdWUFFySlBnZXRxeFIzZXRHRTVCMmhQc1lZK1kyMlFpemM0b1lJ?=
=?utf-8?B?MTRGTkk4SkJXRytmNmthNGlrL0t2NWUvWlQxSjhUS0xYenJHbC9IQWFaemwz?=
=?utf-8?B?cXYvSkszUFIrclA0R1dkVS93VzYvdzM0byt4dXZ2QWdqMDFTRzlsTVg5WE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JL2xQYk1RMWRtS3ZuKzhMcjNvRC90bmtQL2pjaGhr?=
=?utf-8?B?azQ4WlMxL0xCTnpmeVRkT2hrVDhyaklkNjRZYXlqSEdveXdMSWcrZmlBZ3FO?=
=?utf-8?B?Z0VYM3Bmd3R3WFNobHFNQVh1c21icVg3b2RPblJYTy9qM2RtdUR0MFdVYnVG?=
=?utf-8?B?bDJ1VXYzdXcxdzF1eFViSHRRWGtna1hYRDVsbEdlaytSemRuQURRRWowaEV0?=
=?utf-8?B?cEcxYVJhdWdhUVI3OUs2YXpha3RWUU1BaFdHS0VHOGl5Mkp4ZDlGdGRLbFpF?=
=?utf-8?B?cDVFQUdwbkpOOTAySWpHRGgydFRLTHVYTFZnOWtvZFlERERyY0JLMXdPaGxz?=
=?utf-8?B?RlVoUzZZckRpRzI0V3Q3QzM2K2lHMjk1OS9kM2RGRUMvazk5TGs4aFBPenBC?=
=?utf-8?Q?KUX+wEZ3od0f+?=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:SN6PR04MB5151.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(13230040)(376014)(1800799024)(366016); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WVNiNHdtWFRPNGIyNXNkemh0S1kxWjlocmYxdzkza1dBTXZXZXVDZjM4NjU4?=
=?utf-8?B?bTNERTlJS0hmWUpDY01BYlpIZHNRVlMwNG5meGRyVnM3WTY4K2VyNFF2SUZP?=
=?utf-8?B?VWt6SDNXNW81cWY1K25CM1ZuL1VwUnBQN3ZzM3RhZkhBUjYxZDd4MFc0ZERP?=
=?utf-8?B?WjFqTjlTVlVBcDhvNkErTEZNT0hjbUpaekJkdTE2OXdJUTZITjVtaitMa0kv?=
=?utf-8?B?TzI5MFBKTHlqRzJsMnpTdGlNSDhvRnJKejhuOHhWb3hDU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llV?=
=?utf-8?B?SVFQcGRrY3YyRVJJbnFucGdhdVZlQ1Q3Q1l6VGFPdE9ycW9LdWlxbTRwcjMz?=
=?utf-8?Q?JYZUc+0Ke4Y9mqIdS0uNVZrKY?=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: fcab2785-fc30-4da0-3ebe-08dd1fb526cd
X-MS-Exchange-CrossTenant-AuthSource: SN6PR04MB5151.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2024 22:41:45.8267 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: WuEwfCNMgLmSygWwStpLnNGEvn9lQ3E7GQhpCsC1220bKqC3u2s6kW2Pbrmdro/bFns5I+IIpJBGtMc7Sr5nog==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR04MB8010
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Please keep the discussion on the mailing list.

On 12/18/2024 4:55 PM, matthew patton wrote:
> PLEASE put in a comment that the else case is testing the 'u_addr = 
> addr' and that u_addr < addr is not possible given the logic in match. I 
> HATE code that requires you to go digging around in multiple places and 
> step thru other methods in order to glean what the current method's 
> assumptions are predicated upon. That's utter shit but extremely common 
> by C coders.

I'm currently working on refactoring match() so that the logic is easier 
to follow.  This will include adding comments, as well as adding a new 
parameter to match() that allows it to indicate whether or not one 
region is contained in the other.  This won't get done immediately, 
because I have something more pressing that I want to do first.

Ken

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019