summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.3.101
blob: 8869baf1a10c73e2b942f0bf1aef7bee0b0816dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
To: vim_dev@googlegroups.com
Subject: Patch 7.3.1
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.3.101
Problem:    ino_t defined with wrong size.
Solution:   Move including auto/config.h before other includes. (Marius
            Geminas)
Files:      src/if_ruby.c, src/if_lua.c
	        

*** ../vim-7.3.100/src/if_ruby.c	2010-12-24 13:39:29.000000000 +0100
--- src/if_ruby.c	2011-01-09 14:43:14.000000000 +0100
***************
*** 11,23 ****
   * See README.txt for an overview of the Vim source code.
   */
  
- #include <stdio.h>
- #include <string.h>
- 
  #ifdef HAVE_CONFIG_H
  # include "auto/config.h"
  #endif
  
  #ifdef _WIN32
  # if !defined(DYNAMIC_RUBY_VER) || (DYNAMIC_RUBY_VER < 18)
  #   define NT
--- 11,23 ----
   * See README.txt for an overview of the Vim source code.
   */
  
  #ifdef HAVE_CONFIG_H
  # include "auto/config.h"
  #endif
  
+ #include <stdio.h>
+ #include <string.h>
+ 
  #ifdef _WIN32
  # if !defined(DYNAMIC_RUBY_VER) || (DYNAMIC_RUBY_VER < 18)
  #   define NT
*** ../vim-7.3.100/src/if_lua.c	2010-10-23 14:02:48.000000000 +0200
--- src/if_lua.c	2011-01-09 14:46:46.000000000 +0100
***************
*** 9,20 ****
   * See README.txt for an overview of the Vim source code.
   */
  
! #include <stdio.h>
! #include <string.h>
  #include <lua.h>
  #include <lualib.h>
  #include <lauxlib.h>
- #include "vim.h"
  
  /* Only do the following when the feature is enabled.  Needed for "make
   * depend". */
--- 9,19 ----
   * See README.txt for an overview of the Vim source code.
   */
  
! #include "vim.h"
! 
  #include <lua.h>
  #include <lualib.h>
  #include <lauxlib.h>
  
  /* Only do the following when the feature is enabled.  Needed for "make
   * depend". */
*** ../vim-7.3.100/src/version.c	2011-01-17 19:50:01.000000000 +0100
--- src/version.c	2011-01-17 19:51:40.000000000 +0100
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     101,
  /**/

-- 
In a world without walls and borders, who needs windows and gates?

 /// 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    ///