diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-07-30 00:27:39 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-07-30 00:27:39 +0000 |
commit | 1860151db04ba6232e1f2f06aedf7891d371918f (patch) | |
tree | 7a6ee22573f740c21a9106e71e154e64afa07b32 /ChangeLog.pre-2-10 | |
parent | b965bb5db1732cee8e0ed92d6484921a1431d6a9 (diff) | |
download | glib-1860151db04ba6232e1f2f06aedf7891d371918f.tar.gz |
Compile in the debugging code all the time, but only output debug messages
2000-07-30 Tor Lillqvist <tml@iki.fi>
* giowin32.c: Compile in the debugging code all the time, but only
output debug messages if told so. Add (unadvertised) function to
turn on/off debug messages for a channel.
(buffer_read): Don't loop. It is expected behaviour to return a
short read occasionally, for instance when reading from
pipes. It's the calling code that should loop if it *knows* how
much the writer has written.
* tests/gio-test.c: Correct the program's name in the output.
(recv_message): Loop calling g_io_channel_read() (in a new
function read_all()) until we have all the bytes we want (that we
know the writer has written/will write).
Diffstat (limited to 'ChangeLog.pre-2-10')
-rw-r--r-- | ChangeLog.pre-2-10 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index aac6ab228..b77004ddf 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -42,6 +42,22 @@ * tests/Makefile.am * tests/makefile.mingw.in: Add it. + (Later the same night:) + + * giowin32.c: Compile in the debugging code all the time, but only + output debug messages if told so. Add (unadvertised) function to + turn on/off debug messages for a channel. + + (buffer_read): Don't loop. It is expected behaviour to return a + short read occasionally, for instance when reading from + pipes. It's the calling code that should loop if it *knows* how + much the writer has written. + + * tests/gio-test.c: Correct the program's name in the output. + (recv_message): Loop calling g_io_channel_read() (in a new + function read_all()) until we have all the bytes we want (that we + know the writer has written/will write). + Thu Jul 27 05:15:11 2000 Tim Janik <timj@gtk.org> * gstrfuncs.c (g_strlcpy, g_strlcat): completed tor's fix |