Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2003 00:34:07 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        "Simon L. Nielsen" <simon@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
Message-ID:  <20030813073407.GA58556@HAL9000.homeunix.com>
In-Reply-To: <200308122103.h7CL3cuF088294@repoman.freebsd.org>
References:  <200308122103.h7CL3cuF088294@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030813073407.GA58556>