[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [unicode branch] search.c:1537: error: 'this_pos_byte' undeclared
From: |
Kenichi Handa |
Subject: |
Re: [unicode branch] search.c:1537: error: 'this_pos_byte' undeclared |
Date: |
Wed, 22 Nov 2006 10:59:28 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
> After a cvs update today I get the following error:
> gcc -c -D_BSD_SOURCE -Demacs -DHAVE_CONFIG_H -DUSE_GTK -I.
> -I/home/jtocancipa/local/src/emacs_unicode_branch/emacs/src -D_BSD_SOURCE
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/freetype2 -I/usr/include/alsa -g -O2 -Wno-pointer-sign
> search.c
> search.c: In function 'simple_search':
> search.c:1537: error: 'this_pos_byte' undeclared (first use in this function)
> search.c:1537: error: (Each undeclared identifier is reported only once
> search.c:1537: error: for each function it appears in.)
> Shouldn't this change be applied?
> *** search.c 22 Nov 2006 02:36:14 +0100 1.174.2.32
> --- search.c 22 Nov 2006 02:44:15 +0100
> ***************
> *** 1531,1536 ****
> --- 1531,1537 ----
> {
> /* Try matching at position POS. */
> int this_pos = pos - len;
> + int this_pos_byte = pos_byte - len_byte;
> int this_len = len;
> unsigned char *p = pat;
No. That part is a code for unibyte case. The current
error is because the change in HEAD is applied to the
incorrect place in search.c. I've just installed a proper
fix.
---
Kenichi Handa
address@hidden