From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7062 invoked by alias); 7 Jan 2007 01:34:21 -0000 Received: (qmail 7033 invoked by alias); 7 Jan 2007 01:34:13 -0000 Date: Sun, 07 Jan 2007 01:34:00 -0000 Message-ID: <20070107013413.7032.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: "jvdelisle 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: 2007-01/txt/msg00460.txt.bz2 ------- Comment #15 from jvdelisle at gcc dot gnu dot org 2007-01-07 01:34 ------- Subject: Bug 30162 Author: jvdelisle Date: Sun Jan 7 01:34:03 2007 New Revision: 120544 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120544 Log: 2007-01-06 Jerry DeLisle PR libgfortran/30162 * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as s->file_length == -1. (fd_alloc_w_at): Do not adjust file_length if file is not seekable. (fd_seek): If not seekable, just return success. (fd_truncate): If not seekable, no need to truncate. Return failure if seek fails and the stream is not a pipe. (fd_to_stream): Make test for non-seekable file more robust. 2007-01-06 Jerry DeLisle * ChangeLog: Copied to ... * ChangeLog-2006: here. Added: branches/gcc-4_2-branch/libgfortran/ChangeLog-2006 Modified: branches/gcc-4_2-branch/libgfortran/ChangeLog branches/gcc-4_2-branch/libgfortran/io/unix.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30162