mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.1.0750: there are some Win9x legacy references
Problem: there are some Win9x legacy references Solution: Remove those mentions (Nir Lichtman) closes: #15730 Signed-off-by: Nir Lichtman <nir@lichtman.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
85f054aa3f
commit
563e8ec8c7
@@ -12,7 +12,7 @@
|
||||
* Used for both the console version and the Win32 GUI. A lot of code is for
|
||||
* the console version only, so there is a lot of "#ifndef FEAT_GUI_MSWIN".
|
||||
*
|
||||
* Win32 (Windows NT and Windows 95) system-dependent routines.
|
||||
* Win32 system-dependent routines.
|
||||
* Portions lifted from the Win32 SDK samples, the MSDOS-dependent code,
|
||||
* NetHack 3.1.3, GNU Emacs 19.30, and Vile 5.5.
|
||||
*
|
||||
@@ -7572,19 +7572,9 @@ mch_total_mem(int special UNUSED)
|
||||
|
||||
/*
|
||||
* mch_wrename() works around a bug in rename (aka MoveFile) in
|
||||
* Windows 95: rename("foo.bar", "foo.bar~") will generate a
|
||||
* file whose short file name is "FOO.BAR" (its long file name will
|
||||
* be correct: "foo.bar~"). Because a file can be accessed by
|
||||
* either its SFN or its LFN, "foo.bar" has effectively been
|
||||
* renamed to "foo.bar", which is not at all what was wanted. This
|
||||
* seems to happen only when renaming files with three-character
|
||||
* extensions by appending a suffix that does not include ".".
|
||||
* Windows NT gets it right, however, with an SFN of "FOO~1.BAR".
|
||||
*
|
||||
* There is another problem, which isn't really a bug but isn't right either:
|
||||
* Windows, the bug can be demonstrated with the following scenario:
|
||||
* When renaming "abcdef~1.txt" to "abcdef~1.txt~", the short name can be
|
||||
* "abcdef~1.txt" again. This has been reported on Windows NT 4.0 with
|
||||
* service pack 6. Doesn't seem to happen on Windows 98.
|
||||
* "abcdef~1.txt" again.
|
||||
*
|
||||
* Like rename(), returns 0 upon success, non-zero upon failure.
|
||||
* Should probably set errno appropriately when errors occur.
|
||||
|
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Win32 (Windows NT and Windows 95) machine-dependent things.
|
||||
* Win32 machine-dependent things.
|
||||
*/
|
||||
|
||||
#include "os_dos.h" // common MS-DOS and Win32 stuff
|
||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
750,
|
||||
/**/
|
||||
749,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user