]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.466
- remove missing .po files
[packages/vim.git] / 6.2.466
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.466 (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 6.2.466 (extra)
11 Problem:    Win32: Compiling with Borland C fails, and an un/signed warning.
12 Solution:   Redefine wcsicmp() to wcscmpi() and add type casts. (Yasuhiro
13             Matsumoto)
14 Files:      src/os_win32.c
15
16
17 *** ../vim-6.2.465/src/os_win32.c       Fri Apr  9 19:50:59 2004
18 --- src/os_win32.c      Mon Apr 12 15:33:59 2004
19 ***************
20 *** 146,151 ****
21 --- 146,155 ----
22   PFNGCKLN    s_pfnGetConsoleKeyboardLayoutName = NULL;
23   #endif
24   
25 + #if defined(__BORLANDC__)
26 + /* Strangely Borland uses a non-standard name. */
27 + # define wcsicmp(a, b) wcscmpi((a), (b))
28 + #endif
29   
30   #ifndef FEAT_GUI_W32
31   /* Win32 Console handles for input and output */
32 ***************
33 *** 4458,4464 ****
34         /* Copy block of bytes at a time.  Abort when something goes wrong. */
35         for (done = 0; done < len; done += written)
36         {
37 !           todo = len - done > sizeof(buf) ? sizeof(buf) : len - done;
38             if (!BackupRead(sh, (LPBYTE)buf, todo, &readcnt,
39                                                        FALSE, FALSE, context)
40                     || readcnt != todo
41 --- 4462,4470 ----
42         /* Copy block of bytes at a time.  Abort when something goes wrong. */
43         for (done = 0; done < len; done += written)
44         {
45 !           /* (size_t) cast for Borland C 5.5 */
46 !           todo = (size_t)(len - done) > sizeof(buf) ? sizeof(buf)
47 !                                                      : (size_t)(len - done);
48             if (!BackupRead(sh, (LPBYTE)buf, todo, &readcnt,
49                                                        FALSE, FALSE, context)
50                     || readcnt != todo
51 *** ../vim-6.2.465/src/version.c        Mon Apr 12 15:41:18 2004
52 --- src/version.c       Mon Apr 12 15:44:02 2004
53 ***************
54 *** 639,640 ****
55 --- 639,642 ----
56   {   /* Add new patch number below this line */
57 + /**/
58 +     466,
59   /**/
60
61 -- 
62 Advice to worms:  Sleep late.
63
64  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
65 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
66 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
67  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
This page took 0.061054 seconds and 3 git commands to generate.