Re: GRegex



On Tue, 24 Oct 2006 16:38:30 -0400
Behdad Esfahbod <behdad behdad org> wrote:

> This is broken.  It should err at configure time, not run time.  The
> user shouldn't need to check the output of g_regex_new for failures,
> just like any other thing we do with glib.

I would argue it should do both.

Don't compile against a PCRE that doesn't do UTF-8, but also check the
installed library on each startup. That would guard against the system's
library being upgraded at some later time, to one that doesn't support
UTF-8.

-- 
Paul "LeoNerd" Evans

leonerd leonerd org uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Attachment: signature.asc
Description: PGP signature



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