[geany/geany] 756d3c: Allow spawn debug output also with GEANY_DEBUG

Enrico Tröger git-noreply at xxxxx
Mon Jun 20 21:07:14 UTC 2016


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sun, 21 Feb 2016 23:57:12 UTC
Commit:      756d3ce5b047a884ff248c0d15dbbbdf0bb9a5ef
             https://github.com/geany/geany/commit/756d3ce5b047a884ff248c0d15dbbbdf0bb9a5ef

Log Message:
-----------
Allow spawn debug output also with GEANY_DEBUG

And remove a trailing unnecessary newline in the debug message.


Modified Paths:
--------------
    src/spawn.c

Modified: src/spawn.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -558,8 +558,8 @@ static gboolean spawn_async_with_pipes(const gchar *working_directory, const gch
 	while (argv && *argv)
 		spawn_append_argument(command, *argv++);
 
-#ifdef SPAWN_TEST
-	g_message("full spawn command line: %s\n", command->str);
+#if defined(SPAWN_TEST) || defined(GEANY_DEBUG)
+	g_message("full spawn command line: %s", command->str);
 #endif
 
 	while (envp && *envp)



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


More information about the Commits mailing list