Patch 8.1.2402
Problem:    Typos and other small things.
Solution:   Small fixes.
Files:      .gitignore, src/testdir/shared.vim, src/testdir/test49.vim,
            src/message.c, src/Makefile


*** ../vim-8.1.2401/.gitignore  2019-09-18 22:14:05.335479289 +0200
--- .gitignore  2019-11-13 22:00:49.731960480 +0100
***************
*** 50,55 ****
--- 50,56 ----
  
  # Mac OSX
  src/xxd/xxd.dSYM
+ .DS_Store
  
  # All platforms
  *.rej
*** ../vim-8.1.2401/src/testdir/shared.vim      2019-10-10 16:46:13.590506986 
+0200
--- src/testdir/shared.vim      2019-10-20 22:25:49.121585676 +0200
***************
*** 315,320 ****
--- 315,323 ----
      let args .= ' -S Xafter.vim'
    endif
  
+   " Optionally run Vim under valgrind
+   " let cmd = 'valgrind --tool=memcheck --leak-check=yes --num-callers=25 
--log-file=valgrind ' . cmd
+ 
    exe "silent !" . a:pipecmd . cmd . args . ' ' . a:arguments
  
    if len(a:before) > 0
*** ../vim-8.1.2401/src/testdir/test49.vim      2019-11-03 16:17:08.983705285 
+0100
--- src/testdir/test49.vim      2019-11-30 13:44:56.066501955 +0100
***************
*** 178,184 ****
  "             next Xpath value.  No new Xnext value is prepared.  The argument
  "             should be 2^(n-1) for the nth Xloop command inside the loop.
  "             If the loop has only one Xloop command, the argument can be
! "             ommitted (default: 1).
  "
  "     - Use XloopNEXT before ":continue" and ":endwhile".  This computes a new
  "       Xnext value for the next execution of the loop by multiplying the old
--- 178,184 ----
  "             next Xpath value.  No new Xnext value is prepared.  The argument
  "             should be 2^(n-1) for the nth Xloop command inside the loop.
  "             If the loop has only one Xloop command, the argument can be
! "             omitted (default: 1).
  "
  "     - Use XloopNEXT before ":continue" and ":endwhile".  This computes a new
  "       Xnext value for the next execution of the loop by multiplying the old
*** ../vim-8.1.2401/src/message.c       2019-11-02 22:54:37.405188813 +0100
--- src/message.c       2019-11-30 13:44:56.062501971 +0100
***************
*** 1455,1461 ****
  
  /*
   * Output 'len' characters in 'str' (including NULs) with translation
!  * if 'len' is -1, output upto a NUL character.
   * Use attributes 'attr'.
   * Return the number of characters it takes on the screen.
   */
--- 1455,1461 ----
  
  /*
   * Output 'len' characters in 'str' (including NULs) with translation
!  * if 'len' is -1, output up to a NUL character.
   * Use attributes 'attr'.
   * Return the number of characters it takes on the screen.
   */
***************
*** 1599,1605 ****
  #endif
  
  /*
!  * Output the string 'str' upto a NUL character.
   * Return the number of characters it takes on the screen.
   *
   * If K_SPECIAL is encountered, then it is taken in conjunction with the
--- 1599,1605 ----
  #endif
  
  /*
!  * Output the string 'str' up to a NUL character.
   * Return the number of characters it takes on the screen.
   *
   * If K_SPECIAL is encountered, then it is taken in conjunction with the
*** ../vim-8.1.2401/src/Makefile        2019-12-06 20:43:22.833354093 +0100
--- src/Makefile        2019-12-06 22:16:35.241047065 +0100
***************
*** 413,421 ****
--- 413,423 ----
  
  # MZSCHEME
  # Uncomment this when you want to include the MzScheme interface.
+ # You may have to build racket from source to make this work.
  # NOTE: does not work well together with valgrind.
  #CONF_OPT_MZSCHEME = --enable-mzschemeinterp
  # PLT/mrscheme/drscheme Home dir; the PLTHOME environment variable also works
+ #CONF_OPT_PLTHOME  = --with-plthome=/usr/local
  #CONF_OPT_PLTHOME  = --with-plthome=/usr/local/plt
  #CONF_OPT_PLTHOME  = --with-plthome=/usr/local/drscheme
  #CONF_OPT_PLTHOME  = --with-plthome=/home/me/mz
***************
*** 612,618 ****
  # Use this with GCC to check for mistakes, unused arguments, etc.
  # Note: If you use -Wextra and get warnings in GTK code about function
  #       parameters, you can add -Wno-cast-function-type
! #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code 
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
  # Add -Wpedantic to find // comments and other C99 constructs.
  # Better disable Perl and Python to avoid a lot of warnings.
  #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic 
-Wunreachable-code -Wunused-result -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
--- 614,620 ----
  # Use this with GCC to check for mistakes, unused arguments, etc.
  # Note: If you use -Wextra and get warnings in GTK code about function
  #       parameters, you can add -Wno-cast-function-type
! #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code 
-Wno-cast-function-type -Wno-deprecated-declarations -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=1
  # Add -Wpedantic to find // comments and other C99 constructs.
  # Better disable Perl and Python to avoid a lot of warnings.
  #CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wpedantic 
-Wunreachable-code -Wunused-result -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
*** ../vim-8.1.2401/src/version.c       2019-12-06 21:11:35.582552434 +0100
--- src/version.c       2019-12-06 22:16:58.616965083 +0100
***************
*** 744,745 ****
--- 744,747 ----
  {   /* Add new patch number below this line */
+ /**/
+     2402,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
208. Your goals for the future are obtaining an T1 connection and
     a 130 gig hard drive.

 /// 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/201912062118.xB6LIrbw019582%40masaka.moolenaar.net.

Raspunde prin e-mail lui