Date: Fri, 6 May 2011 20:45:50 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/bin/sh parser.h Message-ID: <201105062046.p46KkCJd049957@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jilles 2011-05-06 20:45:50 UTC
FreeBSD src repository
Modified files:
bin/sh parser.h
Log:
SVN rev 221551 on 2011-05-06 20:45:50Z by jilles
sh: Change the CTL* bytes to ones invalid in UTF-8.
This ensures that mbrtowc(3) can be used directly once it has been verified
that there is no CTL* byte. Dealing with a CTLESC byte within a multibyte
character would be complicated.
The new values do occur in iso-8859-* encodings. This decreases efficiency
slightly but should not affect correctness.
Caveat: Updating across this change and rebuilding without cleaning may
yield a subtly broken sh binary. By default, make buildworld will clean and
avoid problems.
Revision Changes Path
1.16 +8 -8 src/bin/sh/parser.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105062046.p46KkCJd049957>
