]>
Commit | Line | Data |
---|---|---|
0fcd15a2 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.4.003 | |
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.4.003 (after 6.4.002) | |
11 | Problem: Build problem on non-Unix systems. | |
12 | Solution: Use stat() instead of lstat(). | |
13 | Files: src/fileio.c | |
14 | ||
15 | ||
16 | *** ../vim-6.4.002/src/fileio.c Tue Nov 29 19:29:15 2005 | |
17 | --- src/fileio.c Wed Nov 30 11:48:29 2005 | |
18 | *************** | |
19 | *** 3107,3113 **** | |
20 | --- 3107,3117 ---- | |
21 | for (i = 4913; ; i += 123) | |
22 | { | |
23 | sprintf((char *)gettail(IObuff), "%d", i); | |
24 | + #ifdef HAVE_LSTAT | |
25 | if (mch_lstat((char *)IObuff, &st) < 0) | |
26 | + #else | |
27 | + if (mch_stat((char *)IObuff, &st) < 0) | |
28 | + #endif | |
29 | break; | |
30 | } | |
31 | fd = mch_open((char *)IObuff, O_CREAT|O_WRONLY|O_EXCL, perm); | |
32 | *** ../vim-6.4.002/src/version.c Tue Nov 29 19:29:15 2005 | |
33 | --- src/version.c Wed Nov 30 11:49:19 2005 | |
34 | *************** | |
35 | *** 643,644 **** | |
36 | --- 643,646 ---- | |
37 | { /* Add new patch number below this line */ | |
38 | + /**/ | |
39 | + 3, | |
40 | /**/ | |
41 | ||
42 | -- | |
43 | If VIM were a woman, I'd marry her. Slim, organized, helpful | |
44 | and beautiful; what's not to like? --David A. Rogers | |
45 | ||
46 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
47 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
48 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
49 | \\\ help me help AIDS victims -- http://www.ICCF.nl /// |