Date: Mon, 26 Jan 2009 07:31:28 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r187707 - head/lib/libc/string Message-ID: <200901260731.n0Q7VS5Z040804@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Mon Jan 26 07:31:28 2009 New Revision: 187707 URL: http://svn.freebsd.org/changeset/base/187707 Log: - Fix grammar. [1] - Use the correct term 'long mode'. [2] - style(9) for return value. [3] Submitted by: Ben Kaduk <minimarmot gmail com> [1], obrien [2], scf [3] Modified: head/lib/libc/string/strlen.c Modified: head/lib/libc/string/strlen.c ============================================================================== --- head/lib/libc/string/strlen.c Mon Jan 26 06:14:42 2009 (r187706) +++ head/lib/libc/string/strlen.c Mon Jan 26 07:31:28 2009 (r187707) @@ -50,8 +50,8 @@ __FBSDID("$FreeBSD$"); * * ((x - 0x01....01) & 0x80....80) * - * This is more than 5.2 times as compared to the raw implementation - * on Intel T7300 under EM64T mode for strings longer than word length. + * This is more than 5.2 times as fast as the raw implementation on + * Intel T7300 under long mode for strings longer than word length. */ /* Magic numbers for the algorithm */ @@ -105,6 +105,6 @@ strlen(const char *str) } /* NOTREACHED */ - return 0; + return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901260731.n0Q7VS5Z040804>