Skip to content

Commit

Permalink
updated for version 7.4.141
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
brammool committed Jan 10, 2014
1 parent a02471e commit 78cf3f0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ src/Obj*/pathdef.c
gvimext.dll
gvimext.lib

# Borland C++
bcc.cfg
*.ilc
*.ild
*.ilf
*.ils
*.map
*.tds

# Mac OSX
src/xxd/xxd.dSYM

Expand Down
2 changes: 1 addition & 1 deletion src/Make_bc5.mak
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ CPUARG = -$(CPUNR)
ALIGNARG = -a$(ALIGN)
#
!if ("$(DEBUG)"=="yes")
DEFINES=$(DEFINES) -DDEBUG
DEFINES=$(DEFINES) -DDEBUG -D_DEBUG
!endif
#
!if ("$(OLE)"=="yes")
Expand Down
5 changes: 5 additions & 0 deletions src/if_py_both.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
* 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";

#if PY_VERSION_HEX < 0x02050000
Expand Down
2 changes: 1 addition & 1 deletion src/os_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -2960,7 +2960,7 @@ mch_getperm(char_u *name)
int n;

n = mch_stat(name, &st);
return n == 0 ? (long)st.st_mode : -1L;
return n == 0 ? (long)(unsigned short)st.st_mode : -1L;
}


Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
141,
/**/
140,
/**/
Expand Down

0 comments on commit 78cf3f0

Please sign in to comment.