]> granicus.if.org Git - vim/commitdiff
patch 8.1.2402: typos and other small things v8.1.2402
authorBram Moolenaar <Bram@vim.org>
Fri, 6 Dec 2019 21:18:20 +0000 (22:18 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 6 Dec 2019 21:18:20 +0000 (22:18 +0100)
Problem:    Typos and other small things.
Solution:   Small fixes.

.gitignore
src/Makefile
src/message.c
src/testdir/shared.vim
src/testdir/test49.vim
src/version.c

index 0fd5ba047334c8657b467da0f91631680ef288c4..81b3b1106065bf2548ce775a80533e1137533415 100644 (file)
@@ -50,6 +50,7 @@ nbproject/*
 
 # Mac OSX
 src/xxd/xxd.dSYM
+.DS_Store
 
 # All platforms
 *.rej
index fb232b18b392512233e10eac3ef47044fde60ca5..067110a65427936f17670e22dcb63170a7291f4e 100644 (file)
@@ -413,9 +413,11 @@ CClink = $(CC)
 
 # 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,7 +614,7 @@ CClink = $(CC)
 # 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 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
+#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
index 4a3389ce1f04b16640e2416f4438061b0da24bfe..9ecd194b595bc97ac09c9f5374d03b7fb71fae0b 100644 (file)
@@ -1455,7 +1455,7 @@ msg_home_replace_attr(char_u *fname, int attr)
 
 /*
  * Output 'len' characters in 'str' (including NULs) with translation
- * if 'len' is -1, output upto a NUL character.
+ * if 'len' is -1, output up to a NUL character.
  * Use attributes 'attr'.
  * Return the number of characters it takes on the screen.
  */
@@ -1599,7 +1599,7 @@ msg_make(char_u *arg)
 #endif
 
 /*
- * Output the string 'str' upto a NUL character.
+ * 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
index 78f204c10e83cf8ee3f442736c896f61e79c5590..e753c1ebecf58062bde68c40bd1804c8e15daffc 100644 (file)
@@ -315,6 +315,9 @@ func RunVimPiped(before, after, arguments, pipecmd)
     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
index f19b9db5baf4eda5d069e9d522379e3fdfecdd58..15210b60638989759511a78d32ea80ddb8615702 100644 (file)
@@ -178,7 +178,7 @@ endif
 "              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).
+"              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
index b25cda4104666b50f87115bee890076198c85bb3..8f098f29de7b8361e9d923c0d39971f367f7c475 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2402,
 /**/
     2401,
 /**/