From owner-cvs-all Wed Oct 23 3:52:43 2002 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 D913237B401; Wed, 23 Oct 2002 03:52:42 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D4DC43E8A; Wed, 23 Oct 2002 03:52:42 -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 g9NAq4mV088288; Wed, 23 Oct 2002 03:52:04 -0700 (PDT) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9NAq4cK088287; Wed, 23 Oct 2002 03:52:04 -0700 (PDT) Message-Id: <200210231052.g9NAq4cK088287@repoman.freebsd.org> From: "Tim J. Robbins" Date: Wed, 23 Oct 2002 03:52:04 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/string wcsrchr.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tjr 2002/10/23 03:52:04 PDT Modified files: lib/libc/string wcsrchr.c Log: Reimplement more efficiently, using a single forward scan (like strrchr(3)) instead of scanning forwards to find the end of the string then scanning backwards to find the character. Revision Changes Path 1.7 +12 -22 src/lib/libc/string/wcsrchr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message