|
1 To: [email protected] |
|
2 Subject: Patch 7.2.056 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=ISO-8859-1 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.056 (after 7.2.050) |
|
11 Problem: Tests 58 and 59 fail. |
|
12 Solution: Don't invoke fwrite() with a zero length. (Dominique Pelle) |
|
13 Files: src/spell.c |
|
14 |
|
15 |
|
16 *** ../vim-7.2.055/src/spell.c Fri Nov 28 21:26:50 2008 |
|
17 --- src/spell.c Sat Nov 29 19:58:21 2008 |
|
18 *************** |
|
19 *** 8112,8118 **** |
|
20 p = rr == 1 ? ftp->ft_from : ftp->ft_to; |
|
21 l = (int)STRLEN(p); |
|
22 putc(l, fd); |
|
23 ! fwv &= fwrite(p, l, (size_t)1, fd); |
|
24 } |
|
25 } |
|
26 |
|
27 --- 8218,8225 ---- |
|
28 p = rr == 1 ? ftp->ft_from : ftp->ft_to; |
|
29 l = (int)STRLEN(p); |
|
30 putc(l, fd); |
|
31 ! if (l > 0) |
|
32 ! fwv &= fwrite(p, l, (size_t)1, fd); |
|
33 } |
|
34 } |
|
35 |
|
36 *** ../vim-7.2.055/src/version.c Fri Nov 28 21:26:50 2008 |
|
37 --- src/version.c Sat Nov 29 20:10:05 2008 |
|
38 *************** |
|
39 *** 678,679 **** |
|
40 --- 678,681 ---- |
|
41 { /* Add new patch number below this line */ |
|
42 + /**/ |
|
43 + 56, |
|
44 /**/ |
|
45 |
|
46 -- |
|
47 GUARD #1: Where'd you get the coconut? |
|
48 ARTHUR: We found them. |
|
49 GUARD #1: Found them? In Mercea? The coconut's tropical! |
|
50 ARTHUR: What do you mean? |
|
51 GUARD #1: Well, this is a temperate zone. |
|
52 The Quest for the Holy Grail (Monty Python) |
|
53 |
|
54 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
55 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
56 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
57 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |