From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17474 invoked by alias); 16 Dec 2006 11:44:57 -0000 Received: (qmail 17367 invoked by uid 48); 16 Dec 2006 11:44:44 -0000 Date: Sat, 16 Dec 2006 11:44:00 -0000 Message-ID: <20061216114444.17366.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/30162] I/O with named pipes does not work In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tkoenig at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-12/txt/msg01428.txt.bz2 ------- Comment #2 from tkoenig at gcc dot gnu dot org 2006-12-16 11:44 ------- (In reply to comment #1) > These seeks actually translate to OS calls, which of course fails > for pipes. We could get by for writing if we - eliminated the seeks as long as we don't actually go past our buffer - flushed after every write statement if we have a non-seekable file - set the subrecord size to the buffer length - 2*length of the record marker. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162