]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
__collate_substitute() do something non-trivial only for German. For everyone
authordt <dt@FreeBSD.org>
Sun, 12 Sep 1999 21:15:28 +0000 (21:15 +0000)
committerdt <dt@FreeBSD.org>
Sun, 12 Sep 1999 21:15:28 +0000 (21:15 +0000)
commitb96c3bcd66f43d6176a9d5dff69d9f5aeb697a62
treec72753af6cb6e86b7dcd2aef040ec986a7ca8d82
parent12c22f65a5bb7ee59be3065b48b191434c23cc08
__collate_substitute() do something non-trivial only for German. For everyone
else, it is equivalent to strdup(). So, we will check if  the substitution
tables are trivial at the load time, and possibly save 2 calls to
__collate_substitute() in strcoll().

Still, __collate_substitute() should not exist.
lib/libc/locale/collate.c
lib/libc/locale/collate.h
lib/libc/string/strcoll.c