mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.4.141
Problem: Problems when building with Borland: st_mode is signed short; can't build with Python; temp files not ignored by Mercurial; building with DEBUG doesn't define _DEBUG. Solution: Fix the problems. (Ken Takata)
This commit is contained in:
9
.gitignore
vendored
9
.gitignore
vendored
@@ -36,6 +36,15 @@ src/Obj*/pathdef.c
|
|||||||
gvimext.dll
|
gvimext.dll
|
||||||
gvimext.lib
|
gvimext.lib
|
||||||
|
|
||||||
|
# Borland C++
|
||||||
|
bcc.cfg
|
||||||
|
*.ilc
|
||||||
|
*.ild
|
||||||
|
*.ilf
|
||||||
|
*.ils
|
||||||
|
*.map
|
||||||
|
*.tds
|
||||||
|
|
||||||
# Mac OSX
|
# Mac OSX
|
||||||
src/xxd/xxd.dSYM
|
src/xxd/xxd.dSYM
|
||||||
|
|
||||||
|
@@ -419,7 +419,7 @@ CPUARG = -$(CPUNR)
|
|||||||
ALIGNARG = -a$(ALIGN)
|
ALIGNARG = -a$(ALIGN)
|
||||||
#
|
#
|
||||||
!if ("$(DEBUG)"=="yes")
|
!if ("$(DEBUG)"=="yes")
|
||||||
DEFINES=$(DEFINES) -DDEBUG
|
DEFINES=$(DEFINES) -DDEBUG -D_DEBUG
|
||||||
!endif
|
!endif
|
||||||
#
|
#
|
||||||
!if ("$(OLE)"=="yes")
|
!if ("$(OLE)"=="yes")
|
||||||
|
@@ -13,6 +13,11 @@
|
|||||||
* Common code for if_python.c and if_python3.c.
|
* Common code for if_python.c and if_python3.c.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
/* Disable Warning W8060: Possibly incorrect assignment in function ... */
|
||||||
|
# pragma warn -8060
|
||||||
|
#endif
|
||||||
|
|
||||||
static char_u e_py_systemexit[] = "E880: Can't handle SystemExit of %s exception in vim";
|
static char_u e_py_systemexit[] = "E880: Can't handle SystemExit of %s exception in vim";
|
||||||
|
|
||||||
#if PY_VERSION_HEX < 0x02050000
|
#if PY_VERSION_HEX < 0x02050000
|
||||||
|
@@ -2960,7 +2960,7 @@ mch_getperm(char_u *name)
|
|||||||
int n;
|
int n;
|
||||||
|
|
||||||
n = mch_stat(name, &st);
|
n = mch_stat(name, &st);
|
||||||
return n == 0 ? (long)st.st_mode : -1L;
|
return n == 0 ? (long)(unsigned short)st.st_mode : -1L;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -738,6 +738,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
141,
|
||||||
/**/
|
/**/
|
||||||
140,
|
140,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user