To: vim_dev@googlegroups.com Subject: Patch 8.1.2006 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.2006 Problem: Build failure with huge features but without channel feature. Solution: Add #ifdef. (Dominique Pelle, closes #4906) Files: src/ui.c *** ../vim-8.1.2005/src/ui.c 2019-09-03 23:20:00.929446231 +0200 --- src/ui.c 2019-09-07 23:23:32.512637647 +0200 *************** *** 479,485 **** --- 479,487 ---- // There is a pending job or channel, should return soon in order // to handle them ASAP. Do check for input briefly. due_time = 10L; + # ifdef FEAT_JOB_CHANNEL brief_wait = TRUE; + # endif } # endif if (wait_func(due_time, interrupted, ignore_input)) *** ../vim-8.1.2005/src/version.c 2019-09-07 23:16:16.830370948 +0200 --- src/version.c 2019-09-07 23:24:54.284315287 +0200 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 2006, /**/ -- msdn.microsoft.com: ERROR_SUCCESS 0 (0x0) The operation completed successfully. I have always suspected that for Microsoft success is an error. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///