From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: some accept-process-output races fixed; Tramp FIXMEs Date: Wed, 16 Jan 2019 08:25:05 -0500 Message-ID: References: <46ce72ef-c4cb-1cd1-566a-c305ca92e68c@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1547645034 29051 195.159.176.226 (16 Jan 2019 13:23:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 Jan 2019 13:23:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 16 14:23:50 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gjlAX-0007Kk-2j for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2019 14:23:45 +0100 Original-Received: from localhost ([127.0.0.1]:51720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjlCd-0005oi-UP for ged-emacs-devel@m.gmane.org; Wed, 16 Jan 2019 08:25:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjlC1-0005nC-Qf for emacs-devel@gnu.org; Wed, 16 Jan 2019 08:25:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjlBz-0003Tu-CT for emacs-devel@gnu.org; Wed, 16 Jan 2019 08:25:17 -0500 Original-Received: from [195.159.176.226] (port=35644 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjlBy-0003Jh-Gn for emacs-devel@gnu.org; Wed, 16 Jan 2019 08:25:14 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gjl9n-0006Ev-9z for emacs-devel@gnu.org; Wed, 16 Jan 2019 14:22:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 8 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:KzEOqCkz/zF5OkGlyGLCY8jvb3I= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:232393 Archived-At: > Now that I'm thinking about it, I should also mention that a single > (accept-process-output P) is not guaranteed to slurp all the data from > process P even if P has already exited. Just a word to the wise.... So how can the code tell when it has read all the data? Stefan