about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2006-01-12 00:51:44 +0000
committerWayne Davison <wayned@users.sourceforge.net>2006-01-12 00:51:44 +0000
commite46d08523fd44432448c9c15bcec5977fd817e7d (patch)
tree226b5bd181ced654fab23a6ba0315fd59cd05418 /Src/builtin.c
parenteebfabe5487484b3d1e732386989e739bd3d869e (diff)
downloadzsh-e46d08523fd44432448c9c15bcec5977fd817e7d.tar.gz
zsh-e46d08523fd44432448c9c15bcec5977fd817e7d.tar.xz
zsh-e46d08523fd44432448c9c15bcec5977fd817e7d.zip
- The return value of mbsrtowcs() is also a size_t (like mbrtowc()).
- When mbrtowc() returns -2 when given all the remaining chars in a
  string, set an end-of-line flag and avoid calling mbrtowc() again
  for any of the incomplete characters that remain in the string.
- Use "mbs" for the multi-byte state variable name (for consistency).
- Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t
  -1 and -2 values (respectively).
Diffstat (limited to 'Src/builtin.c')
0 files changed, 0 insertions, 0 deletions