X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A13183857704 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1681757109; bh=QLKqDNd/booW/30G+fZM9GUrjZwi6e0gJeLFYM4VCuA=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=JbuXyqnbP1ncRgMEtAft/Etw0jDJ0oIxrbpWWG+GHvSB5btUOoADzqojZ6wjaKsf9 OF+cpFCR15E3Us6Xs9vq+L1gqLMqOudiLdefjwlY4FyJqRRlrgmnCVnT4pPf2z7yGd X7FVSwXQ7ZwTesXaifsu73S/jD+95QMguQP/lZKA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 97AF8385B510 ARC-Seal: i=1; a=rsa-sha256; t=1681757092; cv=none; d=strato.com; s=strato-dkim-0002; b=lK/+EMPdaEPHk+pYvWricI1l7SZ/7BIGFmvDoES6hFFicH/BaTwXk7arXKZJA3gH2Z /+Me/nLP3fFMdpUwcg3FtgFbF14OVPoUIe8xqcV8jpZ1xte86sUyDJRGuoWRyX5r/3rD RiTDLTuqGBS5aKnEyAWDaMiYc4yviskYv6/4PEJMzrtIacunKARDjcQV7/WTJCqO1Wid aSxO75CQSQsE0KwyCha9/JzH4eN3LQaSvN9ay6VO9Div5JTG27zFylMMYfr80y24kVOm PepZl+SpYm3SmsTsKsM44w8k3++aVo9F+yfm8IwW57hDQiw8B+eCKzfExdQCvIKu7Rv/ ubXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1681757092; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=L5F0XOcqlv5Ta4Ut2oISNjZQkx52yqsQoJoJ8KzWILo=; b=bimwo5pGk44tiiCVSvp6SyjXBsC9hB8Ly2Zymaos16eVrgKf8vJ+TDK2dwIRC6mcmK tkqNAV/ygDMbqE/2DF2v4rFDtrFxX0UTb6v0nIy5bHUsGQbKb/U06dtC2CQYOsO6GdTw aHCEc8PW0+Ql0tlvWD+IDd699T0nDNb+dDFTOqhXX3QgNNo994OESWMUzJkTDXBAghC1 IpluFVlVIyMyeCPDzFernlVE+/3oR/Fmtr5zaocRmpXjNvH09id/Z0H7JHTnHOv1AcP7 hL5tW6eihRZLtGWXEWTt97czx7lYly+ip/XOHshyqgR2Qii5EJ9O64WP0KcfcBh7B12M OVvw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpPCifDuPTMUKP2MmBMcl2XENDrR" To: Bruno Haible , cygwin AT cygwin DOT com Subject: Re: posix_spawn facility Date: Mon, 17 Apr 2023 20:44:51 +0200 Message-ID: <5022555.upeRZZJTqa@nimes> In-Reply-To: References: <1752276 DOT 7aRn1RRit1 AT nimes> MIME-Version: 1.0 X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Bruno Haible via Cygwin Reply-To: Bruno Haible Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 33HIjZff025376 Hi Corinna, > > Would it be possible to change Cygwin's posix_spawnp implementation, > > so that both tests succeed? > > Basically, yes, but... Thanks! > > Disclaimer: I have done my tests with Cygwin 2.9.0; so, if things have > ^^^^^^^^^^^^ > 2017-09-07 > > I'm a bit puzzled. You quote that only Cygwin 3.1.7 has the fixed > posix_spawn, but then you test this with a version three years older? I have now verified that the findings with Cygwin 3.4.6 are the same as with Cygwin 2.9.0. I had expected that, based on browsing through the Cygwin git history; I confirm it now. Btw, there are two more functions in the posix_spawn family meanwhile: * posix_spawn_file_actions_addchdir_np implemented by glibc [1], musl libc, macOS, FreeBSD [2], Solaris ≥ 11.3 used by a few packages (Firefox, Chromium, Rust) * posix_spawn_file_actions_addfchdir_np implemented in glibc, musl libc but not used by any package so far [3]. The next POSIX will contain these functions (without the _np suffix).[4] Bruno [1] https://sourceware.org/bugzilla/show_bug.cgi?id=17405 [2] https://man.freebsd.org/cgi/man.cgi?query=posix_spawn_file_actions_adddup2&apropos=0&sektion=3&manpath=FreeBSD+11-current&format=html [3] https://codesearch.debian.net/ [4] https://www.austingroupbugs.net/view.php?id=1208 -- 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