www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/01/26/09:48:41

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 60QEmeoj1557953
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 60QEmeoj1557953
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=rg0+N7if
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EC64D4BA9031
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1769438919;
bh=7zv2orirfrNs20TUAi7C+qcpXUAkxgysyv2E8i2RjVc=;
h=To:CC:Subject:Date:List-Id:List-Unsubscribe:List-Archive:
List-Post:List-Help:List-Subscribe:From:Reply-To:From;
b=rg0+N7ifEOHkXZwlCUzwSwx57oTY/E0Kx/AcWQLMpzfnBKhiIyfXivXnCq1ubOWE+
tNMGd11tjXIULj5emr5kergSwueyaqIDoBox/CORwLKwN0y8wt04TV8vOXgRPFlOaB
VamVOhg6xnIMY2/7p5/9Z4Gq7ppUo0f1BUk5IjSU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 99EAE4BA2E32
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 99EAE4BA2E32
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1769438898; cv=pass;
b=BGXROx6niYF9Tle8xiMzwzpfpdAhIJcvEhYHd4Bv11gvO6yllfFrHeIhW+Ts/8kEOgZEcYhrERwS29O4SX7lJXbt03HdVeZqVbEpo2jbzUPvWC75V80QwKgjDoTnrL8ORcueRVWMMZJd4jO8lKlQ4jXzzLOEFx1o5WJ1S5vvvZM=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
t=1769438898; c=relaxed/simple;
bh=20zzz8IAAzvSMRZZ9AB2qD2+GtF5civZNbfEdM1Yf9Y=;
h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
b=Crzo3zEHAr6l1w2AMbd9gqYvP2ogDQaawvkY3KJo7v8t0mrEF1VmBiETuFSpwUV4UtHYAIrFmii9t4bJOO/B9gFS59uyq+TaiikB4NqADmlmQ0CnnZ/05ZUYrCqTKFnyJ3/vsTu9RGaD0egpnNpX2t+NiUh7NAhnCMv2x7B8Lzk=
ARC-Authentication-Results: i=2; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 99EAE4BA2E32
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
b=qK6ZM0TW27Zcr6lgXpHgDKoQS/2bFt9qvbC7HSSZEh/cGCOqjsQakTUFzFnd4hR7xm27SWbarwglPBPwrjR9ryV+4vEX6j5G+jWi3VCogGSdSqNVlrmyWV5JQoXwum1awc8NDTNzlci1VeQzn7jRvk6ZoEmTNkFOdzoQn9YSK3qflcp5fHR/ScNJ+cU2RE/uSL0wleakAIIp2zKvdBgottmoUfF6z7ar51iHBAMB1m0KYzdOcsIP2B5Sv78rH0DIwWFExWl8n7smsE3LDcnmmTrkehzxvylTYxi8/hyS7nZBXYXAm1abICBJAP1hKSM0ZF0LmcGuUbluOwvNwfNlgA==
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=xrMJXppt4B2/1PwMjkwIKsEHpR5YXfnioR5fF0OUxN8=;
b=Q371XjbcBdNE1BosR0qlFG+Pi3fpL7Sb3MhcyGDnQOk9Im+Q9NPEYyFxBR7wXcyb6R1LO6YbFvMDtPSN21eZwE6cet41+AQHWdRg3nTuUN+kiDbweSWC9bTmWXR1b90ZCsU0g+3Q9TRBlL6zt/bSPXrnsD4z0ifDzGwNBRBwwyf5ECm/QQwPAV6m2x2YV8jrvtmJOqAcK9J+/CVX5OG0oZHVy7x5CoVT5g/AWY1kJBv/3CvnqQGX7wDfbwGo6rWXoayiZjZenpi3t0PCkUfax2VZbIWrW/82sVFVPNpFNAx5qNFOu9iMzCdAiDKC4fB1Yzxl5kqF1N1v9Xvkmf86UA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
CC: Fergus Daly <fergusd84 AT outlook DOT com>
Subject: Utterly perplexing change in behaviour
Thread-Topic: Utterly perplexing change in behaviour
Thread-Index: AdyNPWQRvvPgmb9FRLCvkPe9QjpCLA==
Date: Mon, 26 Jan 2026 14:48:17 +0000
Message-ID: <PA1P189MB3532D3F8D25CFF338C8F2983A493A@PA1P189MB3532.EURP189.PROD.OUTLOOK.COM>
Accept-Language: en-GB, en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PA1P189MB3532:EE_|PAVP189MB2433:EE_
x-ms-office365-filtering-correlation-id: b711345d-b44f-4c1f-c4f4-08de5ce9f11e
x-ms-exchange-slblob-mailprops: EgT5Wr3QDKyO+K31TYcDJnS3Nb0QmDRHjTgG8j5xNOpJnBeYLG9XS6iBQQwlnY0VFamOovBJVBBw7ZK/fv66DbgNQhW35GgorXXL7/uNxNaBQyyvQR0CpPdkupuglrfY2DBcBRNzCGP5TLsmGZF328jr2S3gUzYPTKnXE3NvHR+RKlpaOu2USIuyuPP1uHx86/eW8LAsfYF8oEvqnC081FUfCmthG97sQMCFgKTr7l/xKPlPca5cyTShIRFYGPwH9vA2XbuXwkfA3KOlcbiBX4SYp6Vk0VQls0hs4/BQFq2/tb9hmSNDrCPheMcH5CRFSAWzckU8nyfGK+IvR4uc/W1Z4xqjSd8HwPKd341o2+ggH0FNZD1fZwpPyzfPKBdHMTs2shE3+1Wob1zaFmE5pI4872XbFOaunCqaZFIq9SvhY96pyZeLJcXXq0+afYQTBnNXBfB18WcVjTybV5LrPN0DLsPcLP8NZfVJvrHdUnVPe59b8GIb7LSLJn9lyRmcGqRWjX08ZI/TgRxUPolRgKIn7CGwVZ5NMJlyBrNn8Z9Zl6ayS156gKkupdyq5OKnLx6kLu53lmZI/hds0FVAM/SNavrN0hUccKn2KHXv2gkCt60QKQ8thYTSoSHL6Dm4kTS4Xxz7s9lFuImLaHk7jFEsz0LZqI4MVDFFMO7LzbpoN0FcZeJLV3gyOIVTE1SGOeXQwrot+FkdDx/DinO4ScOt4rKjqEUGbfOPzTthmEU=
x-microsoft-antispam: BCL:0;
ARA:14566002|15080799012|461199028|8062599012|8060799015|13091999003|19110799012|41001999006|31061999003|440099028|3412199025|52005399003|40105399003|102099032|12091999003|1710799026;
x-microsoft-antispam-message-info: =?us-ascii?Q?P7/EyP0S67zRA/2rM7zSoVUurSq3dL5mtJT5Ula4eSt1T3zMbgE8BqeQWQ3p?=
=?us-ascii?Q?5IEXgEKA6fAsFApygi3L2cph8CBkC2PuR/bbSa8YOBGIgh37Col7l+h+Exqn?=
=?us-ascii?Q?fw5Fk2Dr3bX5JK9CyTUBuwRq5kmX2EiLHkb2kyoWeBHw1481+uZgfU3dtcoI?=
=?us-ascii?Q?hrcM7ycCh8a2XH0PNpnsPoswdEZXpthRIFqnYFRgXmE1u9ZzSQ44sI7OVCuX?=
=?us-ascii?Q?svBgDzkU7qVTXN97MkTQa3jf6rrMBxbU+jqj1B03bfFOnvg7sK4TFRJtbS/v?=
=?us-ascii?Q?pMGr7l82o6zQFId3aIILBLPOJ3Nobvb2/wsn9TyYMQgAhrZkkvGkUrO2pfgN?=
=?us-ascii?Q?uiItS1Qk6HzyJ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zAfmvrHrYHhvdFYh7VNaL?=
=?us-ascii?Q?eYHPtwa1AcegH+My5Oo8NoUMAZxstm4v95ZKV8pOCiMkT0rjnlqsfW4K0Xpv?=
=?us-ascii?Q?eNU=3D?=
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?MW8KOY+G9xZHx04oRamUuW3+WxKjD50YlcgLXuJrq8FEw02m70fx/0t6ko1/?=
=?us-ascii?Q?xLA0AZ/CX4oCtmw2iP5BkM7bu6J3T1c5pEGfgKixTGpgwgEUnTfjN2WUywUS?=
=?us-ascii?Q?s+goFD9nwy39TDZxDwlc2sqXwCINE5/Qng/fOmHOSm+hcrEyg+RZrmHgp2fO?=
=?us-ascii?Q?CUHj6mqLsyTUyGiCpNCVpVcEEO0zI/gtftK+bnNURfjavz7CA8jVzyEzk86V?=
=?us-ascii?Q?XYxNI/75yJn8x9AlFoEZ6MLx318RI+khXq5/Yc5Xly1oSwwQ+Bt59cTIin+H?=
=?us-ascii?Q?WtJtgA1WTzqpEEG88Wsxv47RdUY59QrffeQpQexy2SA9XURinGCsYcJQU0K/?=
=?us-ascii?Q?pcYkj0WmB29xQvRkis/m64xQL3Ws5+bCjDP1VGqNwnYxmvJF1KOV9TP4JaA0?=
=?us-ascii?Q?MOi3pegie19Ry8an8vEMdoB6D+hRHMT++T5SlGjopsX3JKPEmSN8SxZHrJi4?=
=?us-ascii?Q?dnZ/A7kaXDDVjFpUE6z+Tzci5XiaoZheORUPlh5Toulo4vT1oSHoYcKsyPLT?=
=?us-ascii?Q?hUzwPsjm1zvlUGf9Hn5PYDdyekc77kcsFwUSQMVSuqI/Qi8F5SC8WprnlxE2?=
=?us-ascii?Q?zC0Sr5z+we7H1tqgR8jJXNj4KgleScExJhdzSewJ6Yj1oD3+drtf42Zuyr23?=
=?us-ascii?Q?ya8jY2OrcBA4K8SfMLbCI/0TR3KAFHvbJ73W0jhOTEwAy4g+5wlGf1ke3/xZ?=
=?us-ascii?Q?u3l1Scw+xi8AOVMXMhqqz1l+tdee3kMnwm4nJre5E27igZmIIPtMuZgqSQi3?=
=?us-ascii?Q?QwNQrSU9qPxfOLO0h3QQ2wGfihH+oq9St2TO9kgcvFA8Z2SjlrZ+3nFMJ0rv?=
=?us-ascii?Q?9dS9iR8gCSdQJTxGkGNY5j7J22fxa2rBnnB9UAUUmJFCoPUH3cxnbWVYPS47?=
=?us-ascii?Q?v5cPqyD/87al1YR2mtIiX50IAsFHqAOBMW9i0Kvlhv/2IYD3eXyCkRtHTkdU?=
=?us-ascii?Q?JE8Xjo6UwJZz3v7aq1dqgZBOLKEmtcoFsX4Z1ox0q/mR7tTuytoPaK1nu8Yi?=
=?us-ascii?Q?6LoIqhNcFjVgcoHpBVHzGBU2BpR+mqNP9PLMsWCUMwgCZlBS2Lhu75Pf4gF5?=
=?us-ascii?Q?O9Lb5jJ8+oEuiK4u5xBdwQpXhJpoDmcLjt+3OO+MtOAcFhNc88YdeSygWo6r?=
=?us-ascii?Q?n2nbS9yj0oA6YEIO4UtnSH1QRC/fZ9JVDsQLxV5ti06p+TKu9Se36Yi0OfQP?=
=?us-ascii?Q?U0COkYTafCGwF00Clc0NeIoetcpMt3mAGGTevIx4iefXBG///2GOvZxUtykq?=
=?us-ascii?Q?9qCKxz3ylMVIbqMerfS4KghxJaJ3yVStxE1mIvlZpBxsAQ1stycA9L5OD/9e?=
=?us-ascii?Q?p+DgnZzeqlbV9p1jjbkzWzDLWL2ULAwqcevhU1nSO9X0wzDNfkU3peI8wtMP?=
=?us-ascii?Q?tyw4W7E=3D?=
MIME-Version: 1.0
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PA1P189MB3532.EURP189.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: b711345d-b44f-4c1f-c4f4-08de5ce9f11e
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2026 14:48:17.5390 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVP189MB2433
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-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: Fergus Daly via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Fergus Daly <fergusd84 AT outlook DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

This pertains to an external executable built within Cygwin and therefore not part of any Cygwin package so I am not expecting a "solution"
but any illumination whatsoever, or similar experience, would be much appreciated.

I use a standalone static statistical executable built within Cygwin from a collection of .c files using gcc.
The resulting executable comprises many built-in functions and procedures ("routines").
Typically it would be used within the Cygwin environment where it is supported by large libraries of data files, Help files and call-able routines.
But it is sophisticated enough to be useful within a directory containing just two files, itself myprog.exe and cygwin1.dll.
So you could start it in a Command Prompt window with the command .\myprog <Enter> with no need of Cygwin's larger architecture.

It has a built-in function Cygwin() which returns the scalar 1 within Cygwin.
(The identical collection of .c files may be used with gcc in Linux to build the equivalent executable for use in Linux.
Then the function Cygwin() returns 0. There are cases where this distinction requires to be drawn.)
This has been going for literally decades with trivial fixes and enhancements and surviving all advances over the years in cygwin1.dll
or the Linux kernel and upgrades to gcc.

As mentioned here a while ago the only glitch in its construction is that I have to use /lib/libreadline.a from v.8.1-2 [prev] not v.8.3-1 [curr]
though I have not been able to pinpoint quite why. I just do the temporary workaround and then back again.

Oh dear: sorry for this tedious preamble. Now to the point of this communication:

Recently some common behaviours stalled, and it emerged that the function Cygwin() returned 0 not 1.
This is astonishing because
(a) I made no changes to the executable or to its environment.
Well, I would say that, wouldn't I but .. ..
(b) I could not recover the required functionality by reverting to an earlier version of cygwin1.dll;
(c) the wrong output occurred on an old machine where W11 was not recently updated; and
(d) the wrong output occurred on an even older machine running W10.
All previously error-free. Unaltered executable !! Finally, even more incredibly bizarre:
(e) I recompiled the executable twice in succession. With the same trigger, one version returned the value 1 as needed. The other again returned 0.

I know. I know. Being of non-Cygwin origin; and with no access to the source collection; and with no oversight of my key-presses (especially at  (e))
this amounts to no more than a fringe anecdote. But it would be hugely encouraging to know of any similar experience of inexplicably changed behaviour 
(especially if recent) or any kind of a hint of cause or cure.

Thank you for wading through all this .. ..   

-- 
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