[Patch, libgfortran] Remove small_buffer, unneccessary buffer for internal I/O
Janne Blomqvist
blomqvist.janne@gmail.com
Sat May 26 20:52:00 GMT 2007
On 5/24/07, Jerry DeLisle <jvdelisle@verizon.net> wrote:
> This patch looks good. For the common stuff, One could try to create a separate
> structure for all the common items above and create two new structures.
>
> typedef struct
> {
> comstream s;
> char buffer[BUFFER_SIZE];
> } unix_tream;
>
> typedef struct
> {
> comstream s;
> char * intbuf;
> } intstream;
Yes, that would be the obvious and neat solution.
> That may require a lot of editing.
.. and this is the reason why I didn't want to do it. :)
> The patch as it is now works well.
Thanks for the review. Committed to trunk.
--
Janne Blomqvist
More information about the Fortran
mailing list