git: sh: Change the CTL* bytes to ones invalid in UTF-8.

Peter Avalos pavalos at crater.dragonflybsd.org
Sun Aug 21 16:32:59 PDT 2011


commit 0d9648a3b3a9fa5ee5d7ed1399232f11dd8ae51b
Author: Peter Avalos <pavalos at dragonflybsd.org>
Date:   Sat Jul 2 16:15:36 2011 -1000

    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.
    
    Obtained-from:   FreeBSD SVN rev 221551

Summary of changes:
 bin/sh/parser.h |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d9648a3b3a9fa5ee5d7ed1399232f11dd8ae51b


-- 
DragonFly BSD source repository





More information about the Commits mailing list