]> git.pld-linux.org Git - packages/vim.git/blame - 6.2.109
- manpaged md5 fix
[packages/vim.git] / 6.2.109
CommitLineData
5f6937f1
AM
1To: vim-dev@vim.org
2Subject: Patch 6.2.109
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 6.2.109
11Problem: Compiler warnings with various Amiga compilers.
12Solution: Add typecast, prototypes, et al. that are also useful for other
13 systems. (Flavio Stanchina)
14Files: src/eval.c, src/ops.c
15
16
17*** ../vim-6.2.108/src/eval.c Sat Sep 27 19:36:46 2003
18--- src/eval.c Wed Sep 17 21:53:22 2003
19***************
20*** 9552,9559 ****
21 sprintf((char *)IObuff, ":return \"%s\"",
22 ((VAR)retvar)->var_val.var_string);
23 else
24! sprintf((char *)IObuff, ":return %d",
25! ((VAR)retvar)->var_val.var_number);
26 return vim_strsave(s);
27 }
28
29--- 9552,9559 ----
30 sprintf((char *)IObuff, ":return \"%s\"",
31 ((VAR)retvar)->var_val.var_string);
32 else
33! sprintf((char *)IObuff, ":return %ld",
34! (long)(((VAR)retvar)->var_val.var_number));
35 return vim_strsave(s);
36 }
37
38*** ../vim-6.2.108/src/ops.c Sat Sep 27 19:36:47 2003
39--- src/ops.c Wed Sep 17 21:59:01 2003
40***************
41*** 4334,4341 ****
42 linenr_T lnum;
43 {
44 char_u *s = ml_get(lnum);
45
46! return (*s != NUL && vim_iswhite(s[STRLEN(s) - 1]));
47 }
48
49 /*
50--- 4334,4347 ----
51 linenr_T lnum;
52 {
53 char_u *s = ml_get(lnum);
54+ size_t l;
55
56! if (*s == NUL)
57! return FALSE;
58! /* Don't use STRLEN() inside vim_iswhite(), SAS/C complains: "macro
59! * invocation may call function multiple times". */
60! l = STRLEN(s) - 1;
61! return vim_iswhite(s[l]);
62 }
63
64 /*
65*** ../vim-6.2.108/src/version.c Sun Oct 12 16:52:45 2003
66--- src/version.c Sun Oct 12 16:55:21 2003
67***************
68*** 639,640 ****
69--- 639,642 ----
70 { /* Add new patch number below this line */
71+ /**/
72+ 109,
73 /**/
74
75--
76The CIA drives around in cars with the "Intel inside" logo.
77
78 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
79/// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
80\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
81 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
This page took 0.110689 seconds and 4 git commands to generate.