Add multi-byte supportAdd multi-byte support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest13 patches 0 repliesNew
- v413 patches 0 repliesSuperseded
- v313 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 8 patches | 0 replies | Superseded | |
| v1 | 8 patches | 8 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | shell: Call setlocalesrc/ | +4 | 0 replies | |
| 2/13 | shell: Use strcoll instead of strcmp where applicablesrc/ src/ | +5 | 0 replies | |
| 3/13 | expand: Count multi-byte characters for VSLENGTHsrc/ src/ | +94 | 0 replies | |
| 4/13 | expand: Process multi-byte characters in subevalvarsrc/ src/ src/ +1 more | +125 | 0 replies | |
| 5/13 | expand: Process multi-byte characters in expmetasrc/ | +72 | 0 replies | |
| 6/13 | expand: Support multi-byte characters during field splittingsrc/ src/ src/ | +309 | 0 replies | |
| 7/13 | expand: Add multi-byte support to pmatchsrc/ src/ | +227 | 0 replies | |
| 8/13 | input: Allow MB_LEN_MAX calls to pungetcsrc/ src/ | +42 | 0 replies | |
| 9/13 | input: Add pgetc_eoasrc/ src/ | +9 | 0 replies | |
| 10/13 | parser: Add support for multi-byte characterssrc/ src/ src/ | +129 | 0 replies | |
| 11/13 | input: Always push in setinputfilesrc/ | +8 | 0 replies | |
| 12/13 | builtin: Use pgetc in read(1)src/ src/ src/ | +48 | 0 replies | |
| 13/13 | builtin: Process multi-byte characters in read(1)src/ src/ src/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [v5 PATCH 00/13] Add multi-byte supportAdd multi-byte support
v5 rebases on top of the expmeta resource leakage patch.
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
expand: Add multi-byte support to pmatch
input: Allow MB_LEN_MAX calls to pungetc
input: Add pgetc_eoa
parser: Add support for multi-byte characters
input: Always push in setinputfile
builtin: Use pgetc in read(1)
builtin: Process multi-byte characters in read(1)
src/bltin/test.c | 8 +- src/eval.c | 3 +- src/expand.c | 1019 +++++++++++++++++++++++++++++++++------------- src/expand.h | 2 + src/input.c | 119 ++++-- src/input.h | 15 +- src/main.c | 4 + src/memalloc.h | 10 +- src/miscbltin.c | 58 +-- src/mktokens | 1 + src/mystring.c | 2 +- src/parser.c | 136 +++++-- src/parser.h | 2 + src/var.c | 12 +- 14 files changed, 978 insertions(+), 413 deletions(-)
Signature · 1 line
2.39.2