From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27030 invoked by alias); 31 Aug 2013 20:15:37 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 27010 invoked by uid 89); 31 Aug 2013 20:15:36 -0000 Received: from mail-oa0-f43.google.com (HELO mail-oa0-f43.google.com) (209.85.219.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 31 Aug 2013 20:15:36 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,NO_RELAYS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-oa0-f43.google.com Received: by mail-oa0-f43.google.com with SMTP id i10so3747255oag.2 for ; Sat, 31 Aug 2013 13:15:33 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.80.8 with SMTP id n8mr11494499oex.33.1377980133610; Sat, 31 Aug 2013 13:15:33 -0700 (PDT) Received: by 10.182.146.15 with HTTP; Sat, 31 Aug 2013 13:15:33 -0700 (PDT) In-Reply-To: <5220D3E4.2010905@netcologne.de> References: <5220D3E4.2010905@netcologne.de> Date: Sat, 31 Aug 2013 20:48:00 -0000 Message-ID: Subject: Re: [patch, fortran, docs] Unformatted sequential and special files From: Janne Blomqvist To: Thomas Koenig Cc: "fortran@gcc.gnu.org" , gcc-patches Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2013-08/txt/msg01971.txt.bz2 On Fri, Aug 30, 2013 at 8:18 PM, Thomas Koenig wrote: > Hello world, > > the attached patch documents the format for unformatted sequential > files and what is, and is not, supported with special files. > > Tested with "make dvi" and "make info". OK for trunk? The unformatted sequential format part looks Ok, but the special files section is lacking. E.g. what about - The REWIND statement? - The ENDFILE statement? - ACCESS='stream' and the POS= specifier? - ACCESS='direct'? (I suspect this should work for pipes/FIFO's/terminals in case REC= numbers are sequential, but is that a guarantee we want to make?) - Special files which are special in other ways. E.g. block special files tend to allow seeking, but IO must be block aligned. > > Thomas > > 2013-08-30 Thomas Koenig > > PR fortran/30162 > * gfortran.texi: Document unformatted sequential file format > and I/O with special files. -- Janne Blomqvist