From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56025: 29.0.50; em-extpipe-test-2 times out on EMBA and Cygwin Date: Sat, 25 Jun 2022 19:53:06 +0300 Message-ID: <83r13cadn2.fsf@gnu.org> 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> <83y1xlb91y.fsf@gnu.org> <0a5b3d44-c475-941f-c35c-7470c14e6d7b@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11675"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 56025@debbugs.gnu.org, spwhitton@email.arizona.edu, kbrown@cornell.edu To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 25 18:54:55 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 1o593e-0002tE-SC for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jun 2022 18:54:55 +0200 Original-Received: from localhost ([::1]:57462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o593d-0005QH-Ks for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Jun 2022 12:54:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o592n-0004xz-Pq for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 12:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o592n-00031m-Hs for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 12:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o592n-00069d-HP for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 12:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2022 16:54:01 +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.165617599823597 (code B ref 56025); Sat, 25 Jun 2022 16:54:01 +0000 Original-Received: (at 56025) by debbugs.gnu.org; 25 Jun 2022 16:53:18 +0000 Original-Received: from localhost ([127.0.0.1]:46139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5925-00068W-LI for submit@debbugs.gnu.org; Sat, 25 Jun 2022 12:53:17 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5924-00068L-Gh for 56025@debbugs.gnu.org; Sat, 25 Jun 2022 12:53:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35064) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o591x-0002wh-On; Sat, 25 Jun 2022 12:53:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=F6VJpvnz8JRaDvPEaJbLS+Qq395s7BFPplYd1QpLRpU=; b=NE4S2jERbpRb xjOS1QrzOWWHdr+LUFb3MUDhLcAhSFYvaTdpMXrQvOAY7BDInNhNl2ZZR1kwyUH3lRv4+HjEpwIc6 NcFYNhKsQF+ycFHghxX6hPFftS3Vlfnx5x33EtxPjH0KoHGuGciAJhE/4+tMxr6bHjacZMh8iz3Ml d7tFi5XlpZ36FiQD3kh+i0ZNw6NFuAYS5Su1zrIa2GQG7s1+ocBmZqt/8sMyHn2cNeXiaEpVfxQun xrwWy7/NNxtsN8Jqrxtndyo8uJXVvcWyFR2BEkf2hvXg0Wy1wsPTzo802xOGZ6TsB73BCE7T8r+OD b3gsfOv9xi0yWk8uXUAE2Q==; Original-Received: from [87.69.77.57] (port=1504 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o591x-0005ea-8o; Sat, 25 Jun 2022 12:53:09 -0400 In-Reply-To: <0a5b3d44-c475-941f-c35c-7470c14e6d7b@gmail.com> (message from Jim Porter on Sat, 25 Jun 2022 09:13:46 -0700) 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:235284 Archived-At: > Cc: larsi@gnus.org, 56025@debbugs.gnu.org, spwhitton@email.arizona.edu, > kbrown@cornell.edu > From: Jim Porter > Date: Sat, 25 Jun 2022 09:13:46 -0700 > > >> 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. > > > > Perhaps some reference to this should also be in the comments. > > How about this patch? I added a reference to the specific section of the > POSIX specification so that it's (hopefully) easy for people to look up > if they need further details. LGTM, thanks.