[patch, libgfortran] Bug 48030 - Implement read_x using fbuf_getc
Jerry DeLisle
jvdelisle@frontier.com
Wed Mar 23 05:13:00 GMT 2011
On 03/22/2011 06:19 AM, Janne Blomqvist wrote:
> On Tue, Mar 22, 2011 at 03:15, Jerry DeLisle<jvdelisle@frontier.com> wrote:
>> Ping
>>
>> On 03/19/2011 09:46 PM, Jerry DeLisle wrote:
>>>
>>> Hi,
>>>
>>> The attached patch re-implements read_x using fbuf_getc. Self explanatory.
>
> I suspect this doesn't actually fix the issue with reading from a pipe
> before we have consumed all existing data in all cases, as in line
> 1212 fbuf_read() is still called. Thus I think we should fold this EOF
> detection in line 1212-1228 into the main while loop similar to
> transfer.c:read_sf(). Or am I missing something?
>
>
No, my bad. I forgot to delete some of the old code and when I was done I just
looked at the diff and did not see what I had not deleted.
Attached is corrected, once again regression tested.
Thanks,
Jerry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr48030-2.diff
Type: text/x-patch
Size: 2616 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20110323/40f20c87/attachment.bin>
More information about the Fortran
mailing list