[geany/geany] ca8490: Use g_print for PRINTBUILDCMDS and add info

Nick Treleaven git-noreply at xxxxx
Sat Oct 5 11:31:09 UTC 2019


Branch:      refs/heads/build-exec
Author:      Nick Treleaven <n at trelsoft.com>
Committer:   Nick Treleaven <n at trelsoft.com>
Date:        Sat, 05 Oct 2019 11:31:09 UTC
Commit:      ca8490ffd969690124b0d55452598a45148c16c1
             https://github.com/geany/geany/commit/ca8490ffd969690124b0d55452598a45148c16c1

Log Message:
-----------
Use g_print for PRINTBUILDCMDS and add info

printf doesn't show with MSYS.


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

Modified: src/build.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -424,7 +424,7 @@ static GeanyBuildCommand *get_next_build_cmd(GeanyDocument *doc,
 			if (psrc)
 				*psrc = src;
 			if (printbuildcmds)
-				printf("cmd[%u,%u]=%u\n", cmdgrp, cmdindex, src);
+				g_print("cmd[%u,%u]=%u below=%u; %s\n", cmdgrp, cmdindex, src, below, cmds[cmdindex].command);
 			return &(cmds[cmdindex]);
 		}
 	}



--------------
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