1 To: [email protected] |
|
2 Subject: Patch 7.2.251 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=UTF-8 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.251 (after 7.2.044) |
|
11 Problem: Compiler adds invalid memory bounds check. |
|
12 Solution: Remove _FORTIFY_SOURCE=2 from CFLAGS. (Dominique Pelle) |
|
13 Files: src/auto/configure, src/configure.in |
|
14 |
|
15 |
|
16 *** ../vim-7.2.250/src/auto/configure 2009-07-22 11:16:54.000000000 +0200 |
|
17 --- src/auto/configure 2009-08-07 14:49:52.000000000 +0200 |
|
18 *************** |
|
19 *** 17135,17141 **** |
|
20 { $as_echo "$as_me:$LINENO: checking whether we need -D_FORTIFY_SOURCE=1" >&5 |
|
21 $as_echo_n "checking whether we need -D_FORTIFY_SOURCE=1... " >&6; } |
|
22 if test "$gccmajor" -gt "3"; then |
|
23 ! CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=1" |
|
24 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
25 $as_echo "yes" >&6; } |
|
26 else |
|
27 --- 17135,17141 ---- |
|
28 { $as_echo "$as_me:$LINENO: checking whether we need -D_FORTIFY_SOURCE=1" >&5 |
|
29 $as_echo_n "checking whether we need -D_FORTIFY_SOURCE=1... " >&6; } |
|
30 if test "$gccmajor" -gt "3"; then |
|
31 ! CFLAGS=`echo "$CFLAGS -D_FORTIFY_SOURCE=1" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g' -e 's/-D_FORTIFY_SOURCE=2//g'` |
|
32 { $as_echo "$as_me:$LINENO: result: yes" >&5 |
|
33 $as_echo "yes" >&6; } |
|
34 else |
|
35 *** ../vim-7.2.250/src/configure.in 2009-07-22 11:16:54.000000000 +0200 |
|
36 --- src/configure.in 2009-08-07 14:49:47.000000000 +0200 |
|
37 *************** |
|
38 *** 3233,3239 **** |
|
39 dnl declared as char x[1] but actually longer. Introduced in gcc 4.0. |
|
40 AC_MSG_CHECKING(whether we need -D_FORTIFY_SOURCE=1) |
|
41 if test "$gccmajor" -gt "3"; then |
|
42 ! CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=1" |
|
43 AC_MSG_RESULT(yes) |
|
44 else |
|
45 AC_MSG_RESULT(no) |
|
46 --- 3233,3239 ---- |
|
47 dnl declared as char x[1] but actually longer. Introduced in gcc 4.0. |
|
48 AC_MSG_CHECKING(whether we need -D_FORTIFY_SOURCE=1) |
|
49 if test "$gccmajor" -gt "3"; then |
|
50 ! CFLAGS=`echo "$CFLAGS -D_FORTIFY_SOURCE=1" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g' -e 's/-D_FORTIFY_SOURCE=2//g'` |
|
51 AC_MSG_RESULT(yes) |
|
52 else |
|
53 AC_MSG_RESULT(no) |
|
54 *** ../vim-7.2.250/src/version.c 2009-09-11 13:26:38.000000000 +0200 |
|
55 --- src/version.c 2009-09-11 13:43:46.000000000 +0200 |
|
56 *************** |
|
57 *** 678,679 **** |
|
58 --- 678,681 ---- |
|
59 { /* Add new patch number below this line */ |
|
60 + /**/ |
|
61 + 251, |
|
62 /**/ |
|
63 |
|
64 -- |
|
65 hundred-and-one symptoms of being an internet addict: |
|
66 225. You sign up for free subscriptions for all the computer magazines |
|
67 |
|
68 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
69 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
70 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
71 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |
|