cvs commit: src/lib/libc/string Makefile.inc index.3 rindex.3 strchr.3 strrchr.3

David Schultz das at FreeBSD.ORG
Wed Aug 13 00:34:14 PDT 2003


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.


More information about the cvs-src mailing list