Skip to content
  • Tor Lillqvist's avatar
    Compile in the debugging code all the time, but only output debug messages · 1860151d
    Tor Lillqvist authored
    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).
    1860151d
To find the state of this project's repository at the time of any of these versions, check out the tags.