CVS update: samba/source/lib

tridge at samba.org tridge at samba.org
Wed Oct 3 22:18:05 EST 2001


Date:	Wed Oct  3 05:18:05 2001
Author:	tridge

Update of /home/cvs/samba/source/lib
In directory va:/tmp/cvs-serv30329

Modified Files:
	charcnv.c util.c util_file.c util_str.c util_unistr.c 
Log Message:
switched over to a new method of handling uppercase/lowercase mappings
for unicode strings. The new method relies on 3 files that are mmap'd
at startup to provide the mapping tables. The upcase.dat and
lowcase.dat tables should be the same on all systems. The valid.dat
table says what characters are valid in 8.3 names, and differs between
systems. I'm committing the japanese valid.dat here, in future we need
some way of automatically installing and choosing a appropriate table.

This commit also adds my mini tdb based gettext replacement in
intl/lang_tdb.c. I have not enabled this yet and have not removed the
old gettext code as the new code is still being looked at by Monyo.

Right now the code assumes that the upcase.dat, lowcase.dat and
valid.dat files are installed in the Samba lib directory. That is not
a good choice, but I'll leave them there until we work out the new
install directory structure for Samba 3.0.

simo - please look at the isvalid_w() function and think about using
it in your new mangling code. That should be the final step to
correctly passing the chargen test code from monyo.




Revisions:
charcnv.c		1.34 => 1.35
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/charcnv.c?r1=1.34&r2=1.35
util.c		1.321 => 1.322
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util.c?r1=1.321&r2=1.322
util_file.c		1.26 => 1.27
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_file.c?r1=1.26&r2=1.27
util_str.c		1.34 => 1.35
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_str.c?r1=1.34&r2=1.35
util_unistr.c		1.70 => 1.71
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_unistr.c?r1=1.70&r2=1.71




More information about the samba-cvs mailing list