summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.087
blob: e0497dbdd6003f784444908744aec413f62567f2 (plain) (blame)
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
To: vim_dev@googlegroups.com
Subject: Patch 7.3.087
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.087
Problem:    EINTR is not always defined.
Solution:   Include errno.h in vim.h.
Files:	    src/if_cscope.c, src/if_tcl.c, src/integration.c, src/memline.c,
	    src/os_mswin.c, src/os_win16.c, src/os_win32.c, src/vim.h,
	    src/workshop.c


*** ../vim-7.3.086/src/if_cscope.c	2010-12-17 18:06:00.000000000 +0100
--- src/if_cscope.c	2010-12-17 20:06:01.000000000 +0100
***************
*** 13,20 ****
  
  #if defined(FEAT_CSCOPE) || defined(PROTO)
  
- #include <string.h>
- #include <errno.h>
  #include <assert.h>
  #include <sys/types.h>
  #include <sys/stat.h>
--- 13,18 ----
*** ../vim-7.3.086/src/if_tcl.c	2010-08-15 21:57:27.000000000 +0200
--- src/if_tcl.c	2010-12-17 20:06:56.000000000 +0100
***************
*** 74,80 ****
  #endif
  
  #include <tcl.h>
- #include <errno.h>
  #include <string.h>
  
  typedef struct
--- 74,79 ----
*** ../vim-7.3.086/src/integration.c	2010-08-15 21:57:29.000000000 +0200
--- src/integration.c	2010-12-17 20:07:12.000000000 +0100
***************
*** 33,39 ****
  #include <sys/un.h>
  #endif
  
- #include <errno.h>
  #include <sys/types.h>
  #include <sys/socket.h>
  #include <sys/param.h>
--- 33,38 ----
*** ../vim-7.3.086/src/memline.c	2010-12-17 18:06:00.000000000 +0100
--- src/memline.c	2010-12-17 20:07:31.000000000 +0100
***************
*** 52,61 ****
  # include <proto/dos.h>	    /* for Open() and Close() */
  #endif
  
- #ifdef HAVE_ERRNO_H
- # include <errno.h>
- #endif
- 
  typedef struct block0		ZERO_BL;    /* contents of the first block */
  typedef struct pointer_block	PTR_BL;	    /* contents of a pointer block */
  typedef struct data_block	DATA_BL;    /* contents of a data block */
--- 52,57 ----
*** ../vim-7.3.086/src/os_mswin.c	2010-12-17 18:06:00.000000000 +0100
--- src/os_mswin.c	2010-12-17 20:08:14.000000000 +0100
***************
*** 30,36 ****
  # include <string.h>
  #endif
  #include <sys/types.h>
- #include <errno.h>
  #include <signal.h>
  #include <limits.h>
  #include <process.h>
--- 30,35 ----
*** ../vim-7.3.086/src/os_win16.c	2010-12-17 18:06:00.000000000 +0100
--- src/os_win16.c	2010-12-17 20:08:53.000000000 +0100
***************
*** 25,31 ****
  #include <dos.h>
  #include <string.h>
  #include <sys/types.h>
- #include <errno.h>
  #include <signal.h>
  #include <limits.h>
  #include <process.h>
--- 25,30 ----
*** ../vim-7.3.086/src/os_win32.c	2010-12-17 18:06:00.000000000 +0100
--- src/os_win32.c	2010-12-17 20:09:18.000000000 +0100
***************
*** 27,33 ****
  #endif
  
  #include <sys/types.h>
- #include <errno.h>
  #include <signal.h>
  #include <limits.h>
  #include <process.h>
--- 27,32 ----
*** ../vim-7.3.086/src/vim.h	2010-12-17 18:06:00.000000000 +0100
--- src/vim.h	2010-12-17 20:09:56.000000000 +0100
***************
*** 480,485 ****
--- 480,490 ----
  # include <sys/stat.h>
  #endif
  
+ #if defined(HAVE_ERRNO_H) || defined(DJGPP) || defined(WIN16) \
+ 	|| defined(WIN32) || defined(_WIN64) || defined(__EMX__)
+ # include <errno.h>
+ #endif
+ 
  /*
   * Allow other (non-unix) systems to configure themselves now
   * These are also in os_unix.h, because osdef.sh needs them there.
*** ../vim-7.3.086/src/workshop.c	2010-08-15 21:57:26.000000000 +0200
--- src/workshop.c	2010-12-17 20:09:31.000000000 +0100
***************
*** 16,22 ****
  #include <sys/types.h>
  #include <netdb.h>
  #include <netinet/in.h>
- #include <errno.h>
  #include <sys/socket.h>
  #ifdef HAVE_LIBGEN_H
  # include <libgen.h>
--- 16,21 ----
*** ../vim-7.3.086/src/version.c	2010-12-17 18:52:56.000000000 +0100
--- src/version.c	2010-12-17 20:14:49.000000000 +0100
***************
*** 716,717 ****
--- 716,719 ----
  {   /* Add new patch number below this line */
+ /**/
+     87,
  /**/

-- 
How To Keep A Healthy Level Of Insanity:
17. When the money comes out the ATM, scream "I won!, I won! 3rd
    time this week!!!!!"

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