handle the unlikely case that no bytes are read from the file and allocate
authorSven Neumann <sven@gimp.org>
Wed, 30 Mar 2005 21:59:40 +0000 (21:59 +0000)
committerSven Neumann <neo@src.gnome.org>
Wed, 30 Mar 2005 21:59:40 +0000 (21:59 +0000)
commitec2d35edc391c92db909d95c84c0ab2499fee448
tree53014601745b6d3a143a5c09bb5451f091ef716c
parent0f88e05d5baa2aa8d49a9cebcd42890ecb9ed4f4
handle the unlikely case that no bytes are read from the file and allocate

2005-03-30  Sven Neumann  <sven@gimp.org>

* glib/gfileutils.c (get_contents_stdio): handle the unlikely case
that no bytes are read from the file and allocate an empty string.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
glib/gfileutils.c