GNU bug report logs - #23358
merging byte to wide char caches in gawk

Previous Next

Package: grep;

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

Date: Sun, 24 Apr 2016 16:42:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Aharon Robbins <arnold <at> skeeve.com>
To: bug-grep <at> gnu.org
Subject: merging byte to wide char caches in gawk
Date: Sun, 24 Apr 2016 19:40:55 +0300
[Message part 1 (text/plain, inline)]
Hi.

Here is my proposed patch for merging the byte to w.c. caches in gawk
by using the one in dfa.

I renamed the one in dfa to 'btowc_cache' since it caches bytes,
not multibyte characters.   This compiles and gets through the test
suite.

I also changed the check for the return of mbrtowc since it returns
unsigned.

Thanks,

Arnold
[dfa.diff (text/x-diff, attachment)]

This bug report was last modified 8 years and 297 days ago.

Previous Next


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