This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Buffered/unbuffered I/O issues
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Harald Anlauf" <anlauf at gmx dot de>
- Cc: fortran at gcc dot gnu dot org
- Date: 2007年10月16日 15:34:05 +0100
- Subject: Re: Buffered/unbuffered I/O issues
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Z+HrF7dVS+YEO/bbeTq9X52xNnjfx6jhs9MpJmu+iao=; b=gdkM6FJHW9hy7R14uwTLTOWUdHfMNN/LV1/jTcS2CRjJKHhIofiqOk+/aNnayZFJEhLxRELCjmaxOXovHvRub5XXBHKwhCLHOW576scsZknhjRn8mo7vYd+sXNLwalTh/23dqO0vwjzggSgnprf10swDM6MVbt/YXlEK7bBNhmQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RoTynsBVTzk3N8AXcmnI+k/MGVg4KuUBxyxuoY+Bv2x6tZ5GAU/pPFWe3pbo/aw77gLannsr2IT9iepbQtsqiYsqjDOJ/CIxnDWbbbH8XKagRgxG0uqS2kGsaQ2fRNzH9XleGn940P6IVtiwBAY+/XvkwfPaDJcBYV1lUtf2QsU=
- References: <20071016142434.247130@gmx.net>
> % echo $GFORTRAN_UNBUFFERED_6
> 1
> % echo $GFORTRAN_UNBUFFERED_ALL
Currently, GFORTRAN_UNBUFFERED_ALL is implemented but
GFORTRAN_UNBUFFERED_n (where n is not ALL) isn't. This should either
be implemented, or the documentation for that feature should be
removed (as well as the unused code providing partial support for
it). I think the second choice is simplest, because 1. people who want
unbuffered output can use GFORTRAN_UNBUFFERED_ALL, and 2. if they
really need partial unbuffered output, they can use FLUSH.
FX