Branch: refs/heads/document-messages Author: Nick Treleaven nick.treleaven@btinternet.com Committer: Nick Treleaven nick.treleaven@btinternet.com Date: Fri, 30 Dec 2011 16:13:40 Commit: da8160ac98dadf5c38396dce3ca127f84e48c682 https://github.com/geany/geany/commit/da8160ac98dadf5c38396dce3ca127f84e48c6...
Log Message: ----------- Fix gcc 'ordered comparison of pointer' warnings
Modified Paths: -------------- src/build.c src/tools.c
Modified: src/build.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -970,7 +970,7 @@ static GPid build_run_cmd(GeanyDocument *doc, guint cmdindex) run_info[cmdindex].pid = (GPid) 0; }
- if (run_info[cmdindex].pid > 0) + if (run_info[cmdindex].pid != 0) { g_child_watch_add(run_info[cmdindex].pid, (GChildWatchFunc) run_exit_cb, (gpointer)&(run_info[cmdindex]));
Modified: src/tools.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -359,7 +359,7 @@ void tools_execute_custom_command(GeanyDocument *doc, const gchar *command) gchar *sel; gint len, remaining, wrote;
- if (pid > 0) + if (pid != 0) g_child_watch_add(pid, (GChildWatchFunc) cc_exit_cb, doc);
/* use GIOChannel to monitor stdout */
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).