mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
updated for version 7.2b-019
This commit is contained in:
@@ -4663,7 +4663,7 @@ mch_fopen(char *name, char *mode)
|
||||
# endif
|
||||
)
|
||||
{
|
||||
# if defined(DEBUG) && _MSC_VER > 1200
|
||||
# if defined(DEBUG) && _MSC_VER >= 1400
|
||||
/* Work around an annoying assertion in the Microsoft debug CRT
|
||||
* when mode's text/binary setting doesn't match _get_fmode(). */
|
||||
char newMode = mode[strlen(mode) - 1];
|
||||
@@ -4682,7 +4682,7 @@ mch_fopen(char *name, char *mode)
|
||||
vim_free(wn);
|
||||
vim_free(wm);
|
||||
|
||||
# if defined(DEBUG) && _MSC_VER > 1200
|
||||
# if defined(DEBUG) && _MSC_VER >= 1400
|
||||
_set_fmode(oldMode);
|
||||
# endif
|
||||
|
||||
|
Reference in New Issue
Block a user