re PR libfortran/31210 (I/O of string with (non-constant) zero length)
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Fri, 4 May 2007 15:14:07 +0000 (15:14 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Fri, 4 May 2007 15:14:07 +0000 (15:14 +0000)
commite50443368c22ea4a2ec4e6585154b13cae31dc09
tree6721ce468249b54015ad164eb75433afc4bde44c
parentc531371e87f6220c177a57d9a34e065cb3dc701d
re PR libfortran/31210 (I/O of string with (non-constant) zero length)

PR libfortran/31210
* io/transfer.c (transfer_character): Avoid passing a NULL
pointer as source to the transfer routines, if the string length
is zero.

From-SVN: r124428
libgfortran/ChangeLog
libgfortran/io/transfer.c