bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep 2.7 compile problem


From: Eric Blake
Subject: Re: grep 2.7 compile problem
Date: Wed, 01 Dec 2010 10:35:53 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6

On 11/30/2010 01:27 PM, Alan Hourihane wrote:
> Hi all,
> 
> With grep 2.7 I got this build error....
> 
>   CC       dfa.o
> dfa.c: In function 'prepare_wc_buf':
> dfa.c:3135:3: error: 'buf_begin' undeclared (first use in this function)
> dfa.c:3135:3: note: each undeclared identifier is reported only once for
> each function it appears in
> dfa.c:3143:23: error: 'inputwcs' undeclared (first use in this function)
> dfa.c:3143:70: error: 'mbs' undeclared (first use in this function)
> dfa.c:3151:15: error: 'mblen_buf' undeclared (first use in this
> function)
> dfa.c:3169:3: error: 'buf_end' undeclared (first use in this function)
> make[2]: *** [dfa.o] Error 1
> 
> It turns out that the function prepare_wc_buf should also be wrapped in
> MBS_SUPPORT checking.
> 
> Patch attached.

Thanks for taking the time to provide a patch.  However, ed-script
patches are practically worthless; could you instead provide a context
diff (either diff -u or diff -c)?

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]