]> granicus.if.org Git - vim/commitdiff
patch 8.0.1828: get no clue why :gui does not fork v8.0.1828
authorBram Moolenaar <Bram@vim.org>
Sun, 13 May 2018 12:40:15 +0000 (14:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 13 May 2018 12:40:15 +0000 (14:40 +0200)
Problem:    Get no clue why :gui does not fork.
Solution:   Add a channel log message.

src/channel.c
src/version.c

index 9023808d68ebf43f94299225ad7429ce38f5327d..504d6b6095407e92d7da0713e0d57162f0adaa69 100644 (file)
@@ -5144,7 +5144,10 @@ job_any_running()
 
     for (job = first_job; job != NULL; job = job->jv_next)
        if (job_still_useful(job))
+       {
+           ch_log(NULL, "GUI not forking because a job is running");
            return TRUE;
+       }
     return FALSE;
 }
 #endif
index 1589ed921ae8ad62bab2298e31532a7a6eeb218a..3271b642161e13551ce4a3249864558711787868 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1828,
 /**/
     1827,
 /**/