From owner-cvs-all@FreeBSD.ORG Thu Aug 7 02:34:51 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D754337B401; Thu, 7 Aug 2003 02:34:51 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73CE243FA3; Thu, 7 Aug 2003 02:34:51 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h779Yp0U062522; Thu, 7 Aug 2003 02:34:51 -0700 (PDT) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h779Yp5j062521; Thu, 7 Aug 2003 02:34:51 -0700 (PDT) Message-Id: <200308070934.h779Yp5j062521@repoman.freebsd.org> From: "Tim J. Robbins" Date: Thu, 7 Aug 2003 02:34:51 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/locale mblen.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 09:34:52 -0000 tjr 2003/08/07 02:34:51 PDT FreeBSD src repository Modified files: lib/libc/locale mblen.c Log: Implement mblen(s, n) as mbtowc(NULL, s, n) to avoid calling sgetrune() and to simplify things. This is only valid until we start supporting state-dependent encodings. Revision Changes Path 1.5 +9 -26 src/lib/libc/locale/mblen.c