Commit ID:      10058FA61D94E9BD833
CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2017/04/21 19:50:10 UTC

Modified files:
        bin/mksh       : edit.c funcs.c misc.c sh.h

Log message:
make ord() result unsigned int; add asc() which is:

• not designed to be emitted, only used in comparisons with
  other asc() results
• on EBCDIC platforms, the mapping of an EBCDIC octet to their
  corresponding ASCII or Unicode/UCS-4 codepoint or, if there
  is no mapping, a distinct value above all valid Unicode codepoints
• on nōn-EBCDIC platforms, just the identity mapping of the input
  octet into their ord() value

Intended use are ASCII-ish character ops, including ranges (“A-Z”),
mapping from those to the corresponding digit offset, and sorting
of things in an ASCIIbetical way

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.322 -r1.323 src/bin/mksh/edit.c
cvs -R rdiff -kk -upr1.341 -r1.342 src/bin/mksh/funcs.c
cvs -R rdiff -kk -upr1.256 -r1.257 src/bin/mksh/misc.c
cvs -R rdiff -kk -upr1.811 -r1.812 src/bin/mksh/sh.h

Reply via email to