[gfortran] patch for unformatted sequential writes

Zack Weinberg zack@codesourcery.com
Fri Jun 18 09:44:00 GMT 2004


Bud Davis <bdavis@gcc.gnu.org> writes:

> Here is an implementation that should make most people happy.  It adds a
> new run-time environment variable, called
>
> GFORTRAN_SEQUENTIAL_IO_RECORD_SIZE_MAX_BITS
>
> it can be set to either 32 or 64.  the default is the size of off_t,
> which was the previous default for gfortran.

Oh ick.  This is what they call a "please unbreak my program" toggle.
Why can't you use a variable-length encoding for the record size
(several such were posted the last time this came up) so that
everything just works?

zw



More information about the Gcc-patches mailing list