From owner-cvs-all@FreeBSD.ORG Wed Aug 13 00:34:13 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 CDC9C37B401; Wed, 13 Aug 2003 00:34:13 -0700 (PDT) Received: from HAL9000.homeunix.com (ip114.bella-vista.sfo.interquest.net [66.199.86.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2759A43FB1; Wed, 13 Aug 2003 00:34:13 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.9/8.12.9) with ESMTP id h7D7Y7jX058657; Wed, 13 Aug 2003 00:34:07 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.9/8.12.9/Submit) id h7D7Y7fG058656; Wed, 13 Aug 2003 00:34:07 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Wed, 13 Aug 2003 00:34:07 -0700 From: David Schultz To: "Simon L. Nielsen" Message-ID: <20030813073407.GA58556@HAL9000.homeunix.com> Mail-Followup-To: "Simon L. Nielsen" , src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org References: <200308122103.h7CL3cuF088294@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308122103.h7CL3cuF088294@repoman.freebsd.org> cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/string Makefile.inc index.3 rindex.3 strchr.3 strrchr.3 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: Wed, 13 Aug 2003 07:34:14 -0000 On Tue, Aug 12, 2003, Simon L. Nielsen wrote: > simon 2003/08/12 14:03:38 PDT > > FreeBSD src repository (doc committer) > > Modified files: (Branch: RELENG_4) > lib/libc/string Makefile.inc index.3 strchr.3 > Removed files: (Branch: RELENG_4) > lib/libc/string rindex.3 strrchr.3 > Log: > MFC: Makefile.inc 1.33, index(3) 1.8 + 1.9, rindex(3) 1.9, > strchr(3) 1.9 + 1.10, strrchr(3) 1.10 > [...] > * Make the wording of index(3) and strchr(3) more similar. I think this is backwards. The description of what happens when the second argument is '\0' goes in the 'Description' section, not the 'Return Values' section. strchr(3) had it right and index(3) had it wrong. Now they both have it wrong.