svn commit: r219680 - in head/bin: ln rm test

Sergey Kandaurov pluknet at freebsd.org
Wed Mar 16 09:07:31 UTC 2011


On 16 March 2011 02:54, Alexander Best <arundel at freebsd.org> wrote:
> On Tue Mar 15 11, Jilles Tjoelker wrote:
>> Author: jilles
>> Date: Tue Mar 15 22:22:11 2011
>> New Revision: 219680
>> URL: http://svn.freebsd.org/changeset/base/219680
>>
>> Log:
>>   bin: Prefer strrchr() to rindex().
>
> shouldn't the rindex(3) manual contain a note regarding it's depricated nature
> and the fact that strchr(3) is preferred?
>

Indeed, both index(3) and rindex(3) are marked legacy in POSIX -2004,
and are cut from -2008 edition.

-- 
wbr,
pluknet


More information about the svn-src-head mailing list