2 Subject: About patch 7.1.129 (extra)
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Win32: Can't get the user name when it is longer than 15
13 Solution: Use UNLEN instead of MAX_COMPUTERNAME_LENGTH. (Alexei Alexandrov)
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
24 ! char szUserName[MAX_COMPUTERNAME_LENGTH + 1];
25 DWORD cch = sizeof szUserName;
27 if (GetUserName(szUserName, &cch))
32 ! char szUserName[256 + 1]; /* UNLEN is 256 */
33 DWORD cch = sizeof szUserName;
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
41 { /* Add new patch number below this line */
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!
51 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
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 ///