GNU bug report logs - #18454
Improve performance when -P (PCRE) is used in UTF-8 locales

Previous Next

Package: grep;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Fri, 12 Sep 2014 01:26:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Blake <eblake <at> redhat.com>
To: Norihiro Tanaka <noritnk <at> kcn.ne.jp>, Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Vincent Lefevre <vincent <at> vinc17.net>, 18454 <at> debbugs.gnu.org
Subject: bug#18454: Improve performance when -P (PCRE) is used in UTF-8 locales
Date: Wed, 17 Sep 2014 08:25:24 -0600
[Message part 1 (text/plain, inline)]
On 09/17/2014 08:17 AM, Norihiro Tanaka wrote:
> Thanks for many improvements.  I applied six patches to grep and tried to
> compile it, but after the sixth patch, I recevied 'SEEK_DATA' undeclared
> error.  I looked for it on CentOS 5.10, but I couldn't find it in standard
> header files (glibc 2.5.1) and gnulib files.
> 

It should be fairly easy for gnulib to fake SEEK_DATA/SEEK_HOLE (by
treating all files as non-sparse).  I guess we haven't needed to do that
before now, because other GNU clients (such as coreutils and tar) of
this have been doing conditional compilation.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 3 years and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.