|
Karsten Hopp |
0dc4fc |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
0dc4fc |
Subject: Patch 7.4.703
|
|
Karsten Hopp |
0dc4fc |
Fcc: outbox
|
|
Karsten Hopp |
0dc4fc |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
0dc4fc |
Mime-Version: 1.0
|
|
Karsten Hopp |
0dc4fc |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
0dc4fc |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
0dc4fc |
------------
|
|
Karsten Hopp |
0dc4fc |
|
|
Karsten Hopp |
0dc4fc |
Patch 7.4.703
|
|
Karsten Hopp |
0dc4fc |
Problem: Compiler warning for start_dir unused when building unittests.
|
|
Karsten Hopp |
0dc4fc |
Solution: Move start_dir inside the #ifdef.
|
|
Karsten Hopp |
0dc4fc |
Files: src/main.c
|
|
Karsten Hopp |
0dc4fc |
|
|
Karsten Hopp |
0dc4fc |
|
|
Karsten Hopp |
0dc4fc |
*** ../vim-7.4.702/src/main.c 2015-04-03 17:59:19.833761335 +0200
|
|
Karsten Hopp |
0dc4fc |
--- src/main.c 2015-04-17 20:56:33.219872867 +0200
|
|
Karsten Hopp |
0dc4fc |
***************
|
|
Karsten Hopp |
0dc4fc |
*** 147,156 ****
|
|
Karsten Hopp |
0dc4fc |
#define ME_INVALID_ARG 5
|
|
Karsten Hopp |
0dc4fc |
};
|
|
Karsten Hopp |
0dc4fc |
|
|
Karsten Hopp |
0dc4fc |
- static char_u *start_dir = NULL; /* current working dir on startup */
|
|
Karsten Hopp |
0dc4fc |
-
|
|
Karsten Hopp |
0dc4fc |
#ifndef PROTO /* don't want a prototype for main() */
|
|
Karsten Hopp |
0dc4fc |
#ifndef NO_VIM_MAIN /* skip this for unittests */
|
|
Karsten Hopp |
0dc4fc |
int
|
|
Karsten Hopp |
0dc4fc |
# ifdef VIMDLL
|
|
Karsten Hopp |
0dc4fc |
_export
|
|
Karsten Hopp |
0dc4fc |
--- 147,157 ----
|
|
Karsten Hopp |
0dc4fc |
#define ME_INVALID_ARG 5
|
|
Karsten Hopp |
0dc4fc |
};
|
|
Karsten Hopp |
0dc4fc |
|
|
Karsten Hopp |
0dc4fc |
#ifndef PROTO /* don't want a prototype for main() */
|
|
Karsten Hopp |
0dc4fc |
#ifndef NO_VIM_MAIN /* skip this for unittests */
|
|
Karsten Hopp |
0dc4fc |
+
|
|
Karsten Hopp |
0dc4fc |
+ static char_u *start_dir = NULL; /* current working dir on startup */
|
|
Karsten Hopp |
0dc4fc |
+
|
|
Karsten Hopp |
0dc4fc |
int
|
|
Karsten Hopp |
0dc4fc |
# ifdef VIMDLL
|
|
Karsten Hopp |
0dc4fc |
_export
|
|
Karsten Hopp |
0dc4fc |
*** ../vim-7.4.702/src/version.c 2015-04-16 22:51:16.685210855 +0200
|
|
Karsten Hopp |
0dc4fc |
--- src/version.c 2015-04-17 20:57:15.343434053 +0200
|
|
Karsten Hopp |
0dc4fc |
***************
|
|
Karsten Hopp |
0dc4fc |
*** 743,744 ****
|
|
Karsten Hopp |
0dc4fc |
--- 743,746 ----
|
|
Karsten Hopp |
0dc4fc |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
0dc4fc |
+ /**/
|
|
Karsten Hopp |
0dc4fc |
+ 703,
|
|
Karsten Hopp |
0dc4fc |
/**/
|
|
Karsten Hopp |
0dc4fc |
|
|
Karsten Hopp |
0dc4fc |
--
|
|
Karsten Hopp |
0dc4fc |
LARGE MAN: Who's that then?
|
|
Karsten Hopp |
0dc4fc |
CART DRIVER: (Grudgingly) I dunno, Must be a king.
|
|
Karsten Hopp |
0dc4fc |
LARGE MAN: Why?
|
|
Karsten Hopp |
0dc4fc |
CART DRIVER: He hasn't got shit all over him.
|
|
Karsten Hopp |
0dc4fc |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
0dc4fc |
|
|
Karsten Hopp |
0dc4fc |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
0dc4fc |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
0dc4fc |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
0dc4fc |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|