]>
Commit | Line | Data |
---|---|---|
05618db8 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.3.053 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 6.3.053 | |
11 | Problem: Win32: ":loadview" cannot find a file with non-ASCII characters. | |
12 | (Valerie Kondakoff) | |
13 | Solution: Use mch_open() instead of open() to open the file. | |
14 | Files: src/ex_cmds2.c | |
15 | ||
16 | ||
17 | *** ../vim-6.3.052/src/ex_cmds2.c Mon Jun 28 19:38:42 2004 | |
18 | --- src/ex_cmds2.c Thu Dec 23 17:14:25 2004 | |
19 | *************** | |
20 | *** 2112,2118 **** | |
21 | fopen_noinh_readbin(filename) | |
22 | char *filename; | |
23 | { | |
24 | ! int fd_tmp = open(filename, O_RDONLY | O_BINARY | O_NOINHERIT); | |
25 | ||
26 | if (fd_tmp == -1) | |
27 | return NULL; | |
28 | --- 2112,2118 ---- | |
29 | fopen_noinh_readbin(filename) | |
30 | char *filename; | |
31 | { | |
32 | ! int fd_tmp = mch_open(filename, O_RDONLY | O_BINARY | O_NOINHERIT, 0); | |
33 | ||
34 | if (fd_tmp == -1) | |
35 | return NULL; | |
36 | *** ../vim-6.3.052/src/version.c Thu Dec 16 14:26:44 2004 | |
37 | --- src/version.c Thu Dec 23 17:15:28 2004 | |
38 | *************** | |
39 | *** 643,644 **** | |
40 | --- 643,646 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 53, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | The difference between theory and practice, is that in theory, there | |
48 | is no difference between theory and practice. | |
49 | ||
50 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
51 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
52 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
53 | \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html /// |