Correction, I used write_decimal for everything except namelist writes.

On 12/24/2017 08:02 PM, Jerry DeLisle wrote:
> Attached patch changes the use of write_integer for the test case which uses 
> the
> sign='plus' specifier when opening a file and using list directed output. To
> fix, I used the write decimal function for namelist writes. For 
> compatibility, I
> used the content of the previous write_integer function in a new function
> namelist_write_integer.
> 
> Regression tested on x86_64-pc-linux.
> 
> OK for trunk?
> 
> Regards,
> 
> Jerry
> 
> 2017-12-25  Jerry DeLisle  <jvdeli...@gcc.gnu.org>
> 
>       PR libgfortran/83560
>       * io/write.c (write_integer): Modify to use write_decimal.
>       Change paramter from len to kind to be better understood.
>       (namelist_write_integer): New function based on previous
>       write_integer. (nml_write_obj): Use namelist_write_integer
>       instead of write_integer.
> 

Reply via email to