[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Suspicious code in search.c
From: |
Kim F. Storm |
Subject: |
Suspicious code in search.c |
Date: |
Thu, 20 Oct 2005 16:52:26 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
See search.c line 1711-1712:
if (ASCII_BYTE_P (*ptr) || ! multibyte)
ch = *ptr;
--> else if (charset_base
--> && (pat_end - ptr) == 1 || CHAR_HEAD_P (ptr[1]))
{
unsigned char *charstart = ptr - 1;
Based on the indentation, I would assume the following interpretation
is intended:
else if (charset_base
&& ((pat_end - ptr) == 1 || CHAR_HEAD_P (ptr[1])))
^ ^
Can somebody who knows this code better than I take a look (and
perhaps reformat the code if the current code is ok).
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Suspicious code in search.c,
Kim F. Storm <=