]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.081
- recognize btrfs, ext4, ext4dev and reiser4
[packages/vim.git] / 7.2.081
CommitLineData
16604d53
ER
1To: vim-dev@vim.org
2Subject: Patch 7.2.081
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.081
11Problem: Compiler warning for floating point overflow on VAX.
12Solution: For VAX use a smaller number. (Zoltan Arpadffy)
13Files: src/message.c
14
15
16*** ../vim-7.2.080/src/message.c Fri Nov 28 21:26:50 2008
17--- src/message.c Tue Jan 13 16:19:07 2009
18***************
19*** 4556,4562 ****
20 remove_trailing_zeroes = TRUE;
21 }
22
23! if (fmt_spec == 'f' && abs_f > 1.0e307)
24 {
25 /* Avoid a buffer overflow */
26 strcpy(tmp, "inf");
27--- 4556,4568 ----
28 remove_trailing_zeroes = TRUE;
29 }
30
31! if (fmt_spec == 'f' &&
32! #ifdef VAX
33! abs_f > 1.0e38
34! #else
35! abs_f > 1.0e307
36! #endif
37! )
38 {
39 /* Avoid a buffer overflow */
40 strcpy(tmp, "inf");
41*** ../vim-7.2.080/src/version.c Tue Jan 13 12:29:03 2009
42--- src/version.c Tue Jan 13 16:19:52 2009
43***************
44*** 678,679 ****
45--- 678,681 ----
46 { /* Add new patch number below this line */
47+ /**/
48+ 81,
49 /**/
50
51--
52Sometimes you can protect millions of dollars in your budget simply by buying
53a bag of cookies, dropping it on the budget anylyst's desk, and saying
54something deeply personal such as "How was your weekend, big guy?"
55 (Scott Adams - The Dilbert principle)
56
57 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
58/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
59\\\ download, build and distribute -- http://www.A-A-P.org ///
60 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.035858 seconds and 4 git commands to generate.