]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.129
- updated to 0.7.5
[packages/vim.git] / 7.1.129
1 To: vim-dev@vim.org
2 Subject: About patch 7.1.129 (extra)
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 7.1.129 (extra)
11 Problem:    Win32: Can't get the user name when it is longer than 15
12             characters.
13 Solution:   Use UNLEN instead of MAX_COMPUTERNAME_LENGTH. (Alexei Alexandrov)
14 Files:      src/os_win32.c
15
16
17 *** ../vim-7.1.128/src/os_win32.c       Thu May 10 19:22:59 2007
18 --- src/os_win32.c      Mon Oct  1 20:07:24 2007
19 ***************
20 *** 2378,2384 ****
21       char_u  *s,
22       int           len)
23   {
24 !     char szUserName[MAX_COMPUTERNAME_LENGTH + 1];
25       DWORD cch = sizeof szUserName;
26   
27       if (GetUserName(szUserName, &cch))
28 --- 2378,2384 ----
29       char_u  *s,
30       int           len)
31   {
32 !     char szUserName[256 + 1]; /* UNLEN is 256 */
33       DWORD cch = sizeof szUserName;
34   
35       if (GetUserName(szUserName, &cch))
36 *** ../vim-7.1.128/src/version.c        Sun Sep 30 22:28:08 2007
37 --- src/version.c       Mon Oct  1 20:32:52 2007
38 ***************
39 *** 668,669 ****
40 --- 668,671 ----
41   {   /* Add new patch number below this line */
42 + /**/
43 +     129,
44   /**/
45
46 -- 
47 ARTHUR: It is I, Arthur, son of Uther Pendragon, from the castle of Camelot.
48         King of all Britons, defeator of the Saxons, sovereign of all England!
49    [Pause]
50 SOLDIER: Get away!
51                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
52
53  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
54 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
55 \\\        download, build and distribute -- http://www.A-A-P.org        ///
56  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.036414 seconds and 3 git commands to generate.