GNU bug report logs - #17056
dfa.c patch for systems with no locale support

Previous Next

Package: grep;

Reported by: Aharon Robbins <arnold <at> skeeve.com>

Date: Fri, 21 Mar 2014 11:42:01 UTC

Severity: normal

Tags: patch

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: Paul Eggert <eggert <at> cs.ucla.edu>
To: Aharon Robbins <arnold <at> skeeve.com>, 17056-done <at> debbugs.gnu.org
Subject: bug#17056: dfa.c patch for systems with no locale support
Date: Thu, 27 Mar 2014 11:57:46 -0700
On 03/27/2014 11:48 AM, Aharon Robbins wrote:
> What if
> the system's setlocale() actually returns NULL?
Then we don't know what the locale is.  Perhaps setlocale ran out of 
memory and so returned NULL.  If so, subsequent calls might use some 
weird Turkish locale with multibyte characters.  So it sounds safer to 
assume the worst in that case.




This bug report was last modified 11 years and 112 days ago.

Previous Next


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