home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: patch 5.4.26
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- ------------
-
- This patch was previously send out for testing. Since nobody said this
- doesn't work, I'll include it.
-
-
- Patch 5.4.26
- Problem: Multi-byte: a multi-byte character is never recognized in a file
- name, causing a backslash before it to be removed on Windows.
- Solution: Assume that a leading-byte character is a file hame character in
- vim_isfilec().
- Files: src/charset.c
-
-
- *** ../vim-5.4.25/src/charset.c Sat Jul 3 17:37:42 1999
- --- src/charset.c Wed Aug 11 21:51:56 1999
- ***************
- *** 440,446 ****
- vim_isfilec(c)
- int c;
- {
- ! return (c < 0x100 && (chartab[c] & CHAR_IF));
- }
-
- /*
- --- 440,451 ----
- vim_isfilec(c)
- int c;
- {
- ! return ((c < 0x100 && (chartab[c] & CHAR_IF))
- ! #ifdef MULTI_BYTE
- ! /* assume that every leading byte is a filename character */
- ! || IsLeadByte(c)
- ! #endif
- ! );
- }
-
- /*
- *** ../vim-5.4.25/src/version.h Thu Aug 12 23:40:39 1999
- --- src/version.h Fri Aug 13 13:00:32 1999
- ***************
- *** 19,26 ****
- #define VIM_VERSION_MINOR_STR "4"
- #define VIM_VERSION_BUILD 57
- #define VIM_VERSION_BUILD_STR "57"
- ! #define VIM_VERSION_PATCHLEVEL 25
- ! #define VIM_VERSION_PATCHLEVEL_STR "25"
-
- /*
- * VIM_VERSION_NODOT is used for the runtime directory name.
- --- 19,26 ----
- #define VIM_VERSION_MINOR_STR "4"
- #define VIM_VERSION_BUILD 57
- #define VIM_VERSION_BUILD_STR "57"
- ! #define VIM_VERSION_PATCHLEVEL 26
- ! #define VIM_VERSION_PATCHLEVEL_STR "26"
-
- /*
- * VIM_VERSION_NODOT is used for the runtime directory name.
- ***************
- *** 30,35 ****
- */
- #define VIM_VERSION_NODOT "vim54"
- #define VIM_VERSION_SHORT "5.4"
- ! #define VIM_VERSION_MEDIUM "5.4.25"
- ! #define VIM_VERSION_LONG "VIM - Vi IMproved 5.4.25 (1999 Aug 12)"
- ! #define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 5.4.25 (1999 Aug 12, compiled "
- --- 30,35 ----
- */
- #define VIM_VERSION_NODOT "vim54"
- #define VIM_VERSION_SHORT "5.4"
- ! #define VIM_VERSION_MEDIUM "5.4.26"
- ! #define VIM_VERSION_LONG "VIM - Vi IMproved 5.4.26 (1999 Aug 13)"
- ! #define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 5.4.26 (1999 Aug 13, compiled "
-
- --
- hundred-and-one symptoms of being an internet addict:
- 78. You find yourself dialing IP numbers on the phone.
-
- --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\--
- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /
-