OSDN Git Service

2007-06-17 Janne Blomqvist <jb@gcc.gnu.org>
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Jun 2007 06:18:38 +0000 (06:18 +0000)
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Jun 2007 06:18:38 +0000 (06:18 +0000)
* gfortran.texi: Add documentation for GFORTRAN_UNBUFFERED_n
environment variables. Fix documentation for
GFORTRAN_UNBUFFERED_ALL environment variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125766 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fortran/ChangeLog
gcc/fortran/gfortran.texi

index 932e004..7528c11 100644 (file)
@@ -1,3 +1,9 @@
+2007-06-17  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       * gfortran.texi: Add documentation for GFORTRAN_UNBUFFERED_n
+       environment variables. Fix documentation for
+       GFORTRAN_UNBUFFERED_ALL environment variable.
+
 2007-06-15  Andrew Pinski  <andrew_pinski@playstation.sony.com>
 
        * trans-intrinsic.c (gfc_conv_intrinsic_repeat): Use
index b0165c8..604e96b 100644 (file)
@@ -512,7 +512,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_ALL:: Don't buffer output
+* GFORTRAN_UNBUFFERED_n:: Don't buffer I/O for specific unit.
+* GFORTRAN_UNBUFFERED_ALL:: Don't buffer I/O for all 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
@@ -559,14 +560,24 @@ 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 output
+@section @env{GFORTRAN_UNBUFFERED_ALL}---Don't buffer I/O on all units
 
-This environment variable controls whether all output is unbuffered.
-If the first letter is @samp{y}, @samp{Y} or @samp{1}, all output is
-unbuffered. This will slow down large writes.  If the first letter is
-@samp{n}, @samp{N}  or @samp{0}, output is buffered.  This is the
-default.
+This environment variable controls whether all I/O is unbuffered.  If
+the first letter is @samp{y}, @samp{Y} or @samp{1}, all 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