git: libc/collate: minor tweaks / fix

John Marino marino at crater.dragonflybsd.org
Tue Oct 20 06:26:51 PDT 2015


commit 58fddedbd62fb08712996ed3e1b7a4a4bb933099
Author: John Marino <draco at marino.st>
Date:   Tue Oct 20 15:22:42 2015 +0200

    libc/collate: minor tweaks / fix
    
    The main "fix" here is properly setting a collate loading error for each
    early return.  Tweaks include removing unnecessary null checks, adding
    assertions (from Illumos) and a couple of variables to reduces code
    differences and improve readability.  For normal use, there are no
    functional changes here.

Summary of changes:
 lib/libc/locale/collate.c | 52 +++++++++++++++++++++++++----------------------
 1 file changed, 28 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/58fddedbd62fb08712996ed3e1b7a4a4bb933099


-- 
DragonFly BSD source repository



More information about the Commits mailing list