Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119505 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 30211 invoked from network); 9 Feb 2023 13:14:09 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 9 Feb 2023 13:14:09 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E06CA180210 for ; Thu, 9 Feb 2023 05:14:08 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS24940 138.201.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from swift.blarg.de (swift.blarg.de [138.201.185.127]) by php-smtp4.php.net (Postfix) with ESMTP for ; Thu, 9 Feb 2023 05:14:08 -0800 (PST) Received: from swift.blarg.de (swift.blarg.de [IPv6:2a01:4f8:c17:52a8::2]) (Authenticated sender: max) by swift.blarg.de (Postfix) with ESMTPSA id C113F41360; Thu, 9 Feb 2023 14:14:06 +0100 (CET) Date: Thu, 9 Feb 2023 14:14:05 +0100 To: Rowan Tommins Cc: internals@lists.php.net Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [PHP-DEV] How to deal with bugs in vendored libraries? From: max+php@blarg.de (Max Kellermann) On 2023/02/09 13:37, Rowan Tommins wrote: > Firstly, let's try to keep this discussion civil, and assume good faith on > both sides. Parts of your e-mail read like accusations of bad behaviour, > rather than genuinely trying to understand what happened, and how we can > collectively avoid it happening in future. While I do have an opinion on whether I consider Derick Rethan's behavior bad (yes, I do), that's not the point here. I don't know how to proceed after my PR thread was locked - that's an unequivocal sign of refusal to discuss the issue. The issue still exists, and I'm here for your advice on how to resolve this. I'm desperate. > Secondly, note that Derick Rethans is the maintainer of both timelib and > the ext/date extension in php-src. So while we can discuss the hypothetical > question of how to handle a disagreement between php-src and upstream > library maintainers, it wouldn't apply in this case anyway, because it > would require Derick to disagree with himself. That depends. Did the PHP project decide to go C99 starting with version 8? What does that mean for maintainers - can they decide to make code changes that are not compliant with that decision? That is a honest question. I don't know how PHP works. That's why I asked whether "secret" reverts without discussion are considered good behavior. Maybe you believe maintainers should do that - but that would be surprising for me. > Thirdly, it's not clear to me which of the following statements is true of > this change, and it might help the conversation to clarify more precisely: > a) The code you removed *violates* the C99 spec? This. The code in question declares typedefs that are reserved words in the C99 spec section 7.26.8; not just reserved, they conflict with actual typedefs from . > b) The code you removed is *guaranteed to be pointless* under the C99 spec > (but does not violate it)? No. It is not pointless. Those declarations occupy reserved words, and that is not allowed. > c) The code you removed is *pointless in this particular case* because of a > combination of the C99 spec and other factors (but might be reasonable in > other circumstances)? I don't understand this one, but it doesn't sound like it applies. Max