From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#56025: 29.0.50; em-extpipe-test-2 times out on EMBA and Cygwin Date: Sun, 26 Jun 2022 14:11:45 -0700 Message-ID: <8735fr2kq6.fsf@melete.silentflame.com> References: <8e21db9c-0100-998e-f280-81304e7ff61a@cornell.edu> <87mtecl82o.fsf@athena.silentflame.com> <40d9e52f-2041-b341-ff77-546ca7792791@cornell.edu> <87k09elrf8.fsf@athena.silentflame.com> <1de33903-4c55-e043-3754-726f7044f2d0@cornell.edu> <7e7daa2f-dbbc-cd0a-4958-2a2932b17837@gmail.com> <8974408d-91cd-aebd-7a5b-596a57bd640e@cornell.edu> <17d41105-b006-f9ad-af0b-ece84a7f5248@gmail.com> <040b3a36-459b-a94d-f879-7f45aac50bda@cornell.edu> <83sfnud26o.fsf@gnu.org> <96e47ba7-efaa-b6df-dd98-60f09068e68c@gmail.com> <874k097lbh.fsf@melete.silentflame.com> <8735frmjrr.fsf@athena.silentflame.com> <4676f52c-4758-38df-f0f4-dbcb5d848c1b@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36307"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.36 Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: larsi@gnus.org, 56025@debbugs.gnu.org To: Jim Porter , Eli Zaretskii , Ken Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 26 23:13:38 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5ZZZ-0009DR-Uf for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jun 2022 23:13:38 +0200 Original-Received: from localhost ([::1]:40222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5ZZY-0004bU-DS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Jun 2022 17:13:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5ZY4-0002uQ-6D for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 17:12:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5ZY2-0005DT-D8 for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 17:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5ZY2-0003ug-7E for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 17:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56025 X-GNU-PR-Package: emacs Original-Received: via spool by 56025-submit@debbugs.gnu.org id=B56025.165627791615029 (code B ref 56025); Sun, 26 Jun 2022 21:12:02 +0000 Original-Received: (at 56025) by debbugs.gnu.org; 26 Jun 2022 21:11:56 +0000 Original-Received: from localhost ([127.0.0.1]:49228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5ZXv-0003uL-L9 for submit@debbugs.gnu.org; Sun, 26 Jun 2022 17:11:55 -0400 Original-Received: from mail-pf1-f181.google.com ([209.85.210.181]:43759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5ZXt-0003u8-U7 for 56025@debbugs.gnu.org; Sun, 26 Jun 2022 17:11:54 -0400 Original-Received: by mail-pf1-f181.google.com with SMTP id 136so2139702pfy.10 for <56025@debbugs.gnu.org>; Sun, 26 Jun 2022 14:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=email-arizona-edu.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=0gEkd7mIf1cIrLD09cBN+A2RcLj2HLdRFie9vnM5dDs=; b=oKfxBeP57I/7myW7gHRJ14GdSS6WrRtbIUr1TFhEEE0lNBXzgoKo718ZIJfpiaVgUr m2U3KohJbvg0jfdHPRD8++Zbs6oeDEUepsqfflCSPaULoHKkulIRmXRRSnQxGOjb80Xg W8rLHr3p5wFcdJ5YYdpysKH9xLrZEDlvsqwuwN1EMVn9gbeGhYtLOIyQBMR638fUYyDw jKWxqdNrfUA1ZQN5ARD8rRkhFn5rTUseICL3+Baj3XhgNISJyWYz1pMRhGN4xT4G21X6 sI3HN53frgnPN3F8qjNS+e1X8lRFzpu9/jUQcEgqkepzWONSYbQq9myVEoxoddj2zoV4 iMsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=0gEkd7mIf1cIrLD09cBN+A2RcLj2HLdRFie9vnM5dDs=; b=VSyFzAzNiyqRZnnbsWiF1KgMD77lVQwu6YZbF6IP+OezRi3GBuJV+4ww9qtcO5gEIu MZHHXBe1ItjRoGnnfbTNuixhP44hHyoVODOWpZV0EeaFWBwLjh44i59Q2/Od6go1Vb8H 73epWYPVmYxZnpHIsrvZ9S0tFxP5J7B4EOsa2mLvhl7z+Z37L4k6jbJGNJAsowCUcZuc ugN4WkPBh8f0bVHOa/4b/ZM03YK2+EKX1nuoL1etU4x1T1flwOtqxGEyF9VXrxDGPQQI zwRbrJzwzWuxBlzJZoPdNkRpABw86SO5weGqFzgM+3Edz+IfyBhKKehOuOQekXnvbHGN /+oQ== X-Gm-Message-State: AJIora+1ezaHJ6Gh0fwuY8nYiXfT3trmFW5mFbe67nmS8qPwz/LJEx7C uGjkFm/D3zYgKqJCvTv6Ik20qQ68n69GPp3Q/OM0vla8JsIq/bHxA52kb34vD3dWUfT1H4dugYB 2VXbQ4Q== X-Google-Smtp-Source: AGRyM1tZiSCeercpN/w185Z7xN6Za5XvtY44cIvIVQzsrEUfwaXJnCE0K470BWHswmXcvvBQXJ7HZg== X-Received: by 2002:a63:85c6:0:b0:40d:80e9:49e7 with SMTP id u189-20020a6385c6000000b0040d80e949e7mr9886783pgd.478.1656277907879; Sun, 26 Jun 2022 14:11:47 -0700 (PDT) Original-Received: from melete.silentflame.com (wsip-68-106-108-195.ph.ph.cox.net. [68.106.108.195]) by smtp.gmail.com with ESMTPSA id f8-20020a056a001ac800b005251b1fde90sm5704056pfv.219.2022.06.26.14.11.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 14:11:47 -0700 (PDT) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id CE8DA7E3EC7; Sun, 26 Jun 2022 14:11:45 -0700 (MST) In-Reply-To: <4676f52c-4758-38df-f0f4-dbcb5d848c1b@gmail.com> X-ua-ms: gsuite X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235401 Archived-At: Hello, On Sun 26 Jun 2022 at 10:22AM -07, Jim Porter wrote: > On 6/26/2022 10:12 AM, Sean Whitton wrote: >> On Fri 24 Jun 2022 at 04:03pm -07, Jim Porter wrote: >> >>> When [EOF is] received, all the bytes waiting to be read are >>> immediately passed to the process without waiting for a , and >>> the EOF is discarded. Thus, if there are no bytes waiting (that is, >>> the EOF occurred at the beginning of a line), a byte count of zero >>> shall be returned from the read(), representing an end-of-file >>> indication. >>> >>> I interpret that to mean that the preferred way to indicate end-of-file >>> to `rev' in this case is to send it "hi [NL] [EOF]". The second EOF that >>> Eshell sends when closing the stderr output handle is superfluous, but >>> it works fine as far as I can tell. >>> >>> [1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html >> >> The text states unconditionally that when an EOF is received it is >> discarded by the OS. So we can infer that it's fine to send three, >> according to the standard -- it's not just that it happens to work. >> >> Thanks again for working on this. > > Ah, good catch. I glossed over the last sentence in that paragraph in > the spec (hence why I didn't copy-paste it). I was actually thinking it was implied by the first sentence of what you quoted. -- Sean Whitton