[geany/geany-plugins] af9a84: scope: don't display possible binary zeros received from gdb stderr

Dimitar Zhekov git-noreply at xxxxx
Sat Oct 3 12:34:48 UTC 2015


Branch:      refs/heads/master
Author:      Dimitar Zhekov <dimitar.zhekov at gmail.com>
Committer:   Dimitar Zhekov <dimitar.zhekov at gmail.com>
Date:        Sat, 03 Oct 2015 12:34:48 UTC
Commit:      af9a84cc71801e1fae5a393241d283fd4f0526ee
             https://github.com/geany/geany-plugins/commit/af9a84cc71801e1fae5a393241d283fd4f0526ee

Log Message:
-----------
scope: don't display possible binary zeros received from gdb stderr


Modified Paths:
--------------
    scope/src/debug.c

Modified: scope/src/debug.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -328,7 +328,7 @@ static void receive_errors_cb(GString *string, GIOCondition condition,
 	G_GNUC_UNUSED gpointer gdata)
 {
 	if (condition & (G_IO_IN | G_IO_PRI))
-		dc_output(2, string->str, string->len);
+		dc_output(2, string->str, -1);
 }
 
 static void gdb_finalize(void)



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list