From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: insert-file-contents and fifos Date: Mon, 6 May 2002 00:24:29 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205060624.g466OTZ01973@aztec.santafe.edu> References: Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1020686849 4727 127.0.0.1 (6 May 2002 12:07:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 6 May 2002 12:07:29 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 174hH6-0001E8-00 for ; Mon, 06 May 2002 14:07:28 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 174hOF-0005Du-00 for ; Mon, 06 May 2002 14:14:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 174hGk-0006ae-00; Mon, 06 May 2002 08:07:06 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 174bvC-0001PS-00; Mon, 06 May 2002 02:24:30 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g466OTk08382; Mon, 6 May 2002 00:24:29 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g466OTZ01973; Mon, 6 May 2002 00:24:29 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: vivek@etla.org In-Reply-To: (message from Vivek on Sun, 5 May 2002 13:14:26 +0100 (BST)) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3624 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3624 GNU emacs 20 was capable of reading from this, 21 is not. The change appears to be the introduction of the new read_non_regular function in fileio.c : a strace shows emacs fetching the data from the file ( you can see the data being read ), and then aborting. Presumably the state of a fifo is sufficiently different from a non-regular file that read_non_regular reacts as if an error has occurred. Could you step through it and see why this happens? The code looks straightforward, so I don't see why it would fail.