From: Jerry DeLisle Date: Fri, 19 Oct 2007 04:16:14 +0000 (+0000) Subject: re PR fortran/33795 (Environment variable GFORTRAN_UNBUFFERED_ not working) X-Git-Tag: releases/gcc-4.3.0~1939 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f41899f6cadaee6ab5b8a82cfad27ddf1d7c9a44;p=thirdparty%2Fgcc.git re PR fortran/33795 (Environment variable GFORTRAN_UNBUFFERED_ not working) 2007-10-18 Jerry DeLisle PR fortran/33795 * gfortran.texi: Document GFORTRAN_UNBUFFERED_PRECONNECTED environment variable. Delete mention of environment variable GFORTRAN_UNBUFFERED_n. From-SVN: r129471 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 3a736539789b..a813ce6e6bc9 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2007-10-18 Jerry DeLisle + + PR fortran/33795 + * gfortran.texi: Document GFORTRAN_UNBUFFERED_PRECONNECTED + environment variable. Delete mention of environment variable + GFORTRAN_UNBUFFERED_n. + 2007-10-18 Paul Thomas PR fortran/33233 diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 7d99f2ed1e7c..3269e784b060 100644 --- a/gcc/fortran/gfortran.texi +++ b/gcc/fortran/gfortran.texi @@ -547,8 +547,8 @@ Malformed environment variables are silently ignored. * GFORTRAN_STDERR_UNIT:: Unit number for standard error * GFORTRAN_USE_STDERR:: Send library output to standard error * GFORTRAN_TMPDIR:: Directory for scratch files -* GFORTRAN_UNBUFFERED_n:: Don't buffer I/O for specific unit. * GFORTRAN_UNBUFFERED_ALL:: Don't buffer I/O for all units. +* GFORTRAN_UNBUFFERED_PRECONNECTED:: Don't buffer I/O for preconnected units. * GFORTRAN_SHOW_LOCUS:: Show location for runtime errors * GFORTRAN_OPTIONAL_PLUS:: Print leading + where permitted * GFORTRAN_DEFAULT_RECL:: Default record length for new files @@ -595,16 +595,6 @@ created. If this environment variable is missing, GNU Fortran searches for the environment variable @env{TMP}. If this is also missing, the default is @file{/tmp}. -@node GFORTRAN_UNBUFFERED_n -@section @env{GFORTRAN_UNBUFFERED_n}---Don't buffer I/O on unit n - -Environment variables named @env{GFORTRAN_UNBUFFERED_n}, where -@samp{n} is an integer, control whether I/O on unit @samp{n} is -unbuffered. If the first letter is @samp{y}, @samp{Y} or @samp{1}, -I/O is unbuffered. This will slow down small sequential reads and -writes. If the first letter is @samp{n}, @samp{N} or @samp{0}, I/O is -buffered. This is the default. - @node GFORTRAN_UNBUFFERED_ALL @section @env{GFORTRAN_UNBUFFERED_ALL}---Don't buffer I/O on all units @@ -614,6 +604,16 @@ unbuffered. This will slow down small sequential reads and writes. If the first letter is @samp{n}, @samp{N} or @samp{0}, I/O is buffered. This is the default. +@node GFORTRAN_UNBUFFERED_PRECONNECTED +@section @env{GFORTRAN_UNBUFFERED_PRECONNECTED}---Don't buffer I/O on +preconnected units + +The environment variable named @env{GFORTRAN_UNBUFFERED_PRECONNECTED} controls +whether I/O on a preconnected unit (i.e STDOUT or STDERR) is unbuffered. If +the first letter is @samp{y}, @samp{Y} or @samp{1}, I/O is unbuffered. This +will slow down small sequential reads and writes. If the first letter +is @samp{n}, @samp{N} or @samp{0}, I/O is buffered. This is the default. + @node GFORTRAN_SHOW_LOCUS @section @env{GFORTRAN_SHOW_LOCUS}---Show location for runtime errors