1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
To: vim-dev@vim.org
Subject: Patch 7.2.237
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------
Patch 7.2.237
Problem: Crash on exit when window icon not set.
Solution: Copy terminal name when using it for the icon name.
Files: src/os_unix.c
*** ../vim-7.2.236/src/os_unix.c 2009-07-14 17:38:51.000000000 +0200
--- src/os_unix.c 2009-07-14 18:30:04.000000000 +0200
***************
*** 1734,1742 ****
if (oldicon == NULL && !test_only)
{
if (STRNCMP(T_NAME, "builtin_", 8) == 0)
! oldicon = T_NAME + 8;
else
! oldicon = T_NAME;
}
return retval;
--- 1734,1742 ----
if (oldicon == NULL && !test_only)
{
if (STRNCMP(T_NAME, "builtin_", 8) == 0)
! oldicon = vim_strsave(T_NAME + 8);
else
! oldicon = vim_strsave(T_NAME);
}
return retval;
***************
*** 1939,1947 ****
if (!test_only)
{
if (STRNCMP(T_NAME, "builtin_", 8) == 0)
! oldicon = T_NAME + 8;
else
! oldicon = T_NAME;
}
return FALSE;
}
--- 1939,1947 ----
if (!test_only)
{
if (STRNCMP(T_NAME, "builtin_", 8) == 0)
! oldicon = vim_strsave(T_NAME + 8);
else
! oldicon = vim_strsave(T_NAME);
}
return FALSE;
}
*** ../vim-7.2.236/src/version.c 2009-07-22 11:16:54.000000000 +0200
--- src/version.c 2009-07-22 13:26:30.000000000 +0200
***************
*** 678,679 ****
--- 678,681 ----
{ /* Add new patch number below this line */
+ /**/
+ 237,
/**/
--
Common sense is what tells you that the world is flat.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|