From owner-cvs-all Sun Sep 12 14:15:32 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8C7A314D80; Sun, 12 Sep 1999 14:15:29 -0700 (PDT) (envelope-from dt@FreeBSD.org) Received: (from dt@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA87938; Sun, 12 Sep 1999 14:15:29 -0700 (PDT) (envelope-from dt@FreeBSD.org) Message-Id: <199909122115.OAA87938@freefall.freebsd.org> From: Dmitrij Tejblum Date: Sun, 12 Sep 1999 14:15:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/locale collate.c collate.h src/lib/libc/string strcoll.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dt 1999/09/12 14:15:29 PDT Modified files: lib/libc/locale collate.c collate.h lib/libc/string strcoll.c Log: __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. Revision Changes Path 1.19 +14 -3 src/lib/libc/locale/collate.c 1.9 +3 -2 src/lib/libc/locale/collate.h 1.11 +11 -4 src/lib/libc/string/strcoll.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message