------- Comment #5 from iwan at irs dot phy dot nrc dot ca  2005-11-28 20:22 
-------
Created an attachment (id=10358)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10358&action=view)
Fixes bug 25039

The patch is against revision 107612 on gcc trunc, 
to be applied in gcc/libgfortran/io.
It is just a demonstration how the bug can be fixed 
( changes in the prototypes of read_block() and 
read_sf() )

Reading is terminated in 
read_sf(st_parameter_dt *dtp, int *length, int comma_separator) 
when a comma is encountered 
in the input and comma_separator=1.
comma_separator=1 when reading is initiated from 
read_l(),read_decimal(),read_radix() or read_f(). 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25039

Reply via email to