git: rtld: Don't use toupper function in rtld_printf.c

John Marino marino at crater.dragonflybsd.org
Sat Mar 17 19:19:26 PDT 2012


commit 7d231b33782ce8d89ea974b3ca21b55a71642b92
Author: John Marino <draco at marino.st>
Date:   Sat Mar 17 11:23:45 2012 +0100

    rtld: Don't use toupper function in rtld_printf.c
    
    The libc function toupper may not function correctly due to TLS use when
    LD_DEBUG is in effect.  Rather than determine this for sure, just use the
    FreeBSD approach of eliminating ctype.h macro.
    
    Taken from: FreeBSD SVN 232729 (2012-03-09)

Summary of changes:
 libexec/rtld-elf/map_object.c  |    2 --
 libexec/rtld-elf/rtld_printf.c |   12 +++++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7d231b33782ce8d89ea974b3ca21b55a71642b92


-- 
DragonFly BSD source repository





More information about the Commits mailing list