This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Buffered/unbuffered I/O issues


François-Xavier Coudert wrote:
% 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

What do you think about providing GFORTRAN_UNBUFFERED_STDIO rather than the more general _n?

Herald, what are your needs?

Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]