httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: [PATCH] Eliminate "13" in modules/aaa/mod_authn_dbd.c / modules/aaa/mod_authnz_ldap.c
Date Sat, 01 Sep 2007 14:34:24 GMT
Martin Kraemer wrote:

> Here's a patch to eliminate the "13", and to improve portability to
> EBCDIC machines by using apr_toupper().

Some of this fooness here revolves around charset issues, something I am 
not clear on for many platforms.

The first question is, what is the charset of the names of environment 
variables on various platforms, the next is the charset of the names of 
LDAP attributes and database columns.

The apr_toupper() macro uses toupper() in the underlying implementation, 
which implies a char -> char mapping. According to the man pages on my 
Mac, towupper() gives a wide character mapping int -> int, but APR 
doesn't support this yet.


View raw message