delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/10/08/13:22:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1495C3858C83
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=cornell.edu
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cornell.edu
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=oG9rEuWDlB/qj9krGRqThhMRAdEflo0JbuaXZcIAyuUadpwe8qG8nCL+wHCZMnKFk29iHaTIxGAdJZ55lXqzcBtXmErCUcLF88dCpqbrETGhgy4+slSEFpc4b9xL9QT9aPN96zwNUejl/ZwxLxKpKjQT+SZS+pUgUke0NB2pxah9D60HeFXqsZ82PO+uSS+fg82rsmFYiarJce5H6Anw+ivIbLcLDIu9Q+OjH4CCvdK++L9uEmDjt6YZftCKbURo6PcqC2FsbQO+vk6ZUd21BX79r4MfWz7+RN0ALQ+7MMArR7aqiy0r8wbaOYIgr9iW6qm49LF8D4lcnNLVVOVgEw==
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=mtdc/ZmPggcXCwZEHOvzC01CmVT46jeCB3Z0OI5xCc4=;
b=Ifdz41ZEM6NZM5RlAfPQYiHHMJkxazlkwDj61OapnRvkSi3BvMznqDIF6hf50YS11Hhz78qgikv1FZ/isWc88XSWVJMf80OgheOcm9wYNUGo00MWqwxr5WHuEG7sZth7wf6F4fxCUN0DXQ9MWB9eib8QPcjfn2Qb4rXVxhxEsm6rxUjRwzHu6B0xtb1rW9G8EAJQHarhXW02r107RlIC/qyM+U8cJvrhr5VZExcX1W7XCeKVdrQCdxNmRStVLovbXBmH8vWgkLbFSwbxK7BSc1kDmyJhdz0EjXJWGyMge54If/yq3ZuZMqoOrNObZUucMzMW4hzfnWdVj4uCwiYoRQ==
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
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cornell.edu;
s=selector2;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=mtdc/ZmPggcXCwZEHOvzC01CmVT46jeCB3Z0OI5xCc4=;
b=g+fsnwedxvEWAQTsGOOvUVT+pTLJJd4oUV8XziPP2M6pSc4mc66/H6rzvEtXbIWxuO2PNWoRpB/qRvfTPoJU37aOX8RLoyZsGW/aLHDK8vG6AIESlUq/Gni7jR9wE1JkI5RVHQWhT4RzA0VgCNSe9cmdDmN4daUZvAgwoTcgE1k=
Authentication-Results: dkim=none (message not signed)
header.d=none;dmarc=none action=none header.from=cornell.edu;
Message-ID: <387c5034-d8c7-a3f2-4271-39b1b95db697@cornell.edu>
Date: Sat, 8 Oct 2022 13:21:25 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.2
Subject: Re: Cygwin 3.3.6: PHP's SplFileObject::fwrite seems broken
To: cygwin AT cygwin DOT com
References: <CAJmy8YH3nHd2hM43bjq=Hg2LYVeef2J46JfNfCpJV3AKEnUb8A AT mail DOT gmail DOT com>
<CAJmy8YFb_eWwQq+U5ku5Jp-1QuR6xYW9dGpsi4QEm+G8jQG=nA AT mail DOT gmail DOT com>
<119953421 DOT 20221002164937 AT yandex DOT ru>
<CAJmy8YFQuc0Pxx_3wEZ_dzNzy9S35E-RC2uhMzhBryNFiwoNcg AT mail DOT gmail DOT com>
From: Ken Brown <kbrown AT cornell DOT edu>
In-Reply-To: <CAJmy8YFQuc0Pxx_3wEZ_dzNzy9S35E-RC2uhMzhBryNFiwoNcg@mail.gmail.com>
X-ClientProxiedBy: BL1PR13CA0019.namprd13.prod.outlook.com
(2603:10b6:208:256::24) To SA0PR04MB7322.namprd04.prod.outlook.com
(2603:10b6:806:e2::7)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: SA0PR04MB7322:EE_|DM5PR04MB0685:EE_
X-MS-Office365-Filtering-Correlation-Id: 6d96211e-e8e7-4105-d082-08daa9518851
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: kT9rabgZZpcD4ecb131UsCvBiKAPl38kGu9fdP/AfrfJ9T/5MKaOgoAOBLXjUw968e/Zqj0Cfh0CUUyySY4yb9XtCvp2hg9ZFUF+NS90KN4iCJamtnjkblfutvN+ienAsUN0dGvBVeGjSE+iF06Qjl8Z99dfeMTCErNO1Aw+bgwwXH0j/bl2Lb5LHuKLIVZ40/Dg40lzKXzOpuF43GCFcXmEVay2wIHJomUs2S7PB1lC2qURCBgiT3we2+TIBQZIugePqNSkxqUn6DVEKANJEwzR3CZNWuxAMzNL6Dk7bJYSk/5DRKorF/XLHoMBirUgpc3hcN7x9lv37wx1YLkVlArOjQPDFGgyTQy93c/0x5maW0+1IAeOUOYn7ikGwKn+34RNKQTD3ih04/OplWwptBs36wrVN7buPt0Xb1hEeJI7d8+qc5jRrdNC5uAr7Cc+KRMWdqE6Qfn34g0c0Kf6xOZjXbBoiJAEdwto26hDBy8seONQRFV4m/SlQPeT9wVFeQYCglFLI+YVCxvRzDnUUCPywiO6n/cIULtRtW09jAtj8dQBukHvO9RqcnXA3whUK+qwsedatgVk3r03/6HxLUv7qgBjoBlVeVvFgajvZcyUVOCjUyuHOJGduF2bnaLyNXvOkrDI1kR1m/SI2K1tCIeNCeinH2i+nxNJHrTbRLgNUGphho+mmxo5GCTryzalDsJqKB1fgQXAMGb8WkDg086fhmUDvxNrwKJYGygesqJ6G9QLFDXbW/WO3TcGH+F/y4mzZoyqDZsdxVpCf8UYoBF54q/DbM0x3oB6mErbpds=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:SA0PR04MB7322.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(13230022)(4636009)(376002)(366004)(396003)(346002)(39860400002)(136003)(451199015)(86362001)(2906002)(75432002)(38100700002)(4744005)(186003)(41320700001)(66946007)(316002)(66476007)(8676002)(41300700001)(786003)(6916009)(6506007)(5660300002)(6512007)(53546011)(66556008)(6486002)(8936002)(478600001)(31686004)(31696002)(36756003)(2616005)(43740500002)(45980500001);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WjFHYkl0N0pNVW1pVmtORUw0dDF2ZU5zRzViNDNNNkpacytJZEhmR0V6TGdw?=
=?utf-8?B?cDVwUFBHTW8vZ3dRMlNmbjd3VTJmeTdEdS9mVGlBVmZSVSszditYMkdnVXE1?=
=?utf-8?B?RE41NXR2NnFTV08xZVVKVkpZTEUva1NtY1BUem5CVlVXZElrckJIUkpJMmFH?=
=?utf-8?B?OVdBejJBdksxZXVONS9kcHkySFNHaFBQNlFYbTJsUmNTU051RnR5T3ZRd3Nw?=
=?utf-8?B?S3Y1blQ2UFd5WWNOcGhxdFNxNkRSMFBHdkpEQVN4RVg4VGlFVU5UaW50bWdM?=
=?utf-8?B?cnBSa2krK1AvWndQOHJRbktiMTRDMGRQei82VTdkVDFOYWIrYTliOWxBYzQ1?=
=?utf-8?B?QUx5SGQ5aEhzV1RYam1QcjlwUWVTTHc5WGJRSkZ0MWc1OTlRNnpJYVE5NDdV?=
=?utf-8?B?em5aaWhaWTBHQmFUU3pqSDhPOEF3Ym0zKzIrMEhPaEZtOVV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riginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 6d96211e-e8e7-4105-d082-08daa9518851
X-MS-Exchange-CrossTenant-AuthSource: SA0PR04MB7322.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2022 17:21:27.2260 (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: UkVXNoyL6OtaWWiFIg2rf3qI6mvWzpUy5a+AHqOYYelyEvruh3r5CCTBBH5gmo2ticzEgABQEbqcvh1wj8/zxA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR04MB0685
X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>
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>

On 10/3/2022 12:59 PM, Hans Henrik Bergan wrote:
> @Ken Brown
>> I don't think you wrote what you meant. You're not saying that explicitly specifying the default value changes the behavior, are you? Maybe you meant to say that the default mode is "r"?
> 
> sorry about that, i meant "ab" makes the code work.
> 
> @Andrey Repin
>> php -d 'display_errors=stderr'
>> ?
> 
> adding -d 'display_errors=stderr'  does not make any difference. still
> int(0) NULL

Someone needs to debug this.  Unfortunately, php currently has no Cygwin 
maintainer.  Are you able to run php under gdb to see what's going on?  Even 
better, are you interested in taking over as the php maintainer?

If not, I might try debugging this at some point.  But I have quite a bit of 
Real Life going on at the moment, so I don't know when I'll get to it.

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