[glib/wip/pwithnall/converter-stream-debugging] WIP



commit 585433a33ce363969b582740a2b201bdbdf51022
Author: Philip Withnall <pwithnall endlessos org>
Date:   Tue Apr 5 17:49:41 2022 +0100

    WIP
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 gio/gconverterinputstream.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gio/gconverterinputstream.c b/gio/gconverterinputstream.c
index 0edee0a018..4197770e36 100644
--- a/gio/gconverterinputstream.c
+++ b/gio/gconverterinputstream.c
@@ -370,6 +370,9 @@ fill_input_buffer (GConverterInputStream  *stream,
       priv->input_buffer.end += nread;
       priv->need_input = FALSE;
     }
+  else
+    g_message ("%s: nread %ld, tailspace: %lu, blocking: %u, at_least_size %lu",
+               G_STRFUNC, nread, buffer_tailspace (&priv->input_buffer), blocking, at_least_size);
 
   return nread;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]