[v3 PATCH 00/13] Add multi-byte support

Herbert Xu <[email protected]>
Newsgroups org.kernel.vger.dash
Message-ID <[email protected]>
v3 adds support for read(1).

This patch series adds multi-byte support to dash.  For now only
fnmatch is supported as the native pmatch function has not been
modified to support multi-byte characters.

Herbert Xu (13):
  shell: Call setlocale
  shell: Use strcoll instead of strcmp where applicable
  expand: Count multi-byte characters for VSLENGTH
  expand: Process multi-byte characters in subevalvar
  expand: Process multi-byte characters in expmeta
  expand: Support multi-byte characters during field splitting
  input: Allow MB_LEN_MAX calls to pungetc
  input: Add pgetc_eoa
  parser: Add support for multi-byte characters
  input: Always push in setinputfile
  memalloc: Use void * instead of pointer
  builtin: Use pgetc in read(1)
  builtin: Process multi-byte characters in read(1)

 src/bltin/test.c |   8 +-
 src/expand.c     | 487 +++++++++++++++++++++++++++++++++++------------
 src/expand.h     |   1 +
 src/input.c      | 119 ++++++++----
 src/input.h      |  15 +-
 src/main.c       |   4 +
 src/memalloc.c   |  16 +-
 src/memalloc.h   |  10 +-
 src/miscbltin.c  |  58 +++---
 src/mktokens     |   1 +
 src/mystring.c   |   2 +-
 src/parser.c     | 136 ++++++++++---
 src/parser.h     |   2 +
 13 files changed, 612 insertions(+), 247 deletions(-)

-- 
2.39.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.