mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.1399
Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
This commit is contained in:
@@ -4918,7 +4918,7 @@ expand_shellcmd(
|
||||
if (*s == ' ')
|
||||
++s; /* Skip space used for absolute path name. */
|
||||
|
||||
#if defined(MSDOS) || defined(MSWIN)
|
||||
#if defined(MSWIN)
|
||||
e = vim_strchr(s, ';');
|
||||
#else
|
||||
e = vim_strchr(s, ':');
|
||||
@@ -5217,7 +5217,7 @@ globpath(
|
||||
copy_option_part(&path, buf, MAXPATHL, ",");
|
||||
if (STRLEN(buf) + STRLEN(file) + 2 < MAXPATHL)
|
||||
{
|
||||
# if defined(MSWIN) || defined(MSDOS)
|
||||
# if defined(MSWIN)
|
||||
/* Using the platform's path separator (\) makes vim incorrectly
|
||||
* treat it as an escape character, use '/' instead. */
|
||||
if (*buf != NUL && !after_pathsep(buf, buf + STRLEN(buf)))
|
||||
|
Reference in New Issue
Block a user