[COMMIT] patch to compile search.c with gcc-4.6
Aidan Kehoe
kehoea at parhasard.net
Tue May 8 04:51:02 EDT 2012
Ar an seachtú lá de mí Bealtaine, scríobh Jeff Sparkes:
> Aidan's regexp changes generated a error when compiled with gcc-4.6. Just
> a missing cast. (Also a typo in the ChangeLog)
Thanks, Jeff! Please feel free, yourself, to commit this sort of
change--where there’s no discussion needed--in the future.
APPROVE COMMIT
NOTE: This patch has been committed.
> diff --git a/src/ChangeLog b/src/ChangeLog
> --- a/src/ChangeLog
> +++ b/src/ChangeLog
> @@ -1,4 +1,8 @@
> -012-05-06 Aidan Kehoe <kehoea at parhasard.net>
> +2012-05-07 Jeff Sparkes <jsparkes at gmail.com>
> +
> + * search.c (skip_chars): Add cast to Ibyte *.
> +
> +2012-05-06 Aidan Kehoe <kehoea at parhasard.net>
>
> * eval.c:
> * eval.c (Fmacroexpand):
> diff --git a/src/search.c b/src/search.c
> --- a/src/search.c
> +++ b/src/search.c
> @@ -972,7 +972,7 @@
> break;
> }
>
> - colonp = memchr (p, ':', pend - p);
> + colonp = (Ibyte *) memchr (p, ':', pend - p);
> if (NULL == colonp || (colonp + 1) == pend || colonp[1] !=
> ']')
> {
> fastmap ['['] = fastmap[':'] = 1;
>
--
‘Iodine deficiency was endemic in parts of the UK until, through what has been
described as “an unplanned and accidental public health triumph”, iodine was
added to cattle feed to improve milk production in the 1930s.’
(EN Pearce, Lancet, June 2011)
More information about the XEmacs-Beta
mailing list