Patch 8.1.2049 (after 8.1.2048)
Problem:    Cannot build tiny version.
Solution:   Add #ifdefs.
Files:      src/main.c


*** ../vim-8.1.2048/src/main.c  2019-09-17 20:28:34.148873666 +0200
--- src/main.c  2019-09-17 20:53:19.456620826 +0200
***************
*** 1061,1071 ****
--- 1061,1073 ----
                    && scriptin[curscript] == NULL
                    && !global_busy;
  
+ #ifdef FEAT_JOB_CHANNEL
      if (was_safe != is_safe)
        // Only log when the state changes, otherwise it happens at nearly
        // every key stroke.
        ch_log(NULL, is_safe ? "Start triggering SafeState"
                                                : "Stop triggering SafeState");
+ #endif
      if (is_safe)
        apply_autocmds(EVENT_SAFESTATE, NULL, NULL, FALSE, curbuf);
      was_safe = is_safe;
***************
*** 1079,1086 ****
--- 1081,1090 ----
      void
  state_no_longer_safe(void)
  {
+ #ifdef FEAT_JOB_CHANNEL
      if (was_safe)
        ch_log(NULL, "safe state reset");
+ #endif
      was_safe = FALSE;
  }
  
***************
*** 1093,1103 ****
--- 1097,1111 ----
  {
      if (was_safe)
      {
+ #ifdef FEAT_JOB_CHANNEL
        ch_log(NULL, "Leaving unsafe area, triggering SafeStateAgain");
+ #endif
        apply_autocmds(EVENT_SAFESTATEAGAIN, NULL, NULL, FALSE, curbuf);
      }
+ #ifdef FEAT_JOB_CHANNEL
      else
        ch_log(NULL, "Leaving unsafe area, not triggering SafeStateAgain");
+ #endif
  }
  
  
*** ../vim-8.1.2048/src/version.c       2019-09-17 20:28:34.148873666 +0200
--- src/version.c       2019-09-17 20:54:10.880495648 +0200
***************
*** 759,760 ****
--- 759,762 ----
  {   /* Add new patch number below this line */
+ /**/
+     2049,
  /**/

-- 
Microsoft: "Windows NT 4.0 now has the same user-interface as Windows 95"
    Windows 95: "Press CTRL-ALT-DEL to reboot"
Windows NT 4.0: "Press CTRL-ALT-DEL to login"

 /// Bram Moolenaar -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201909171854.x8HIsxEq030660%40masaka.moolenaar.net.

Raspunde prin e-mail lui