From owner-cvs-all Thu Dec 19 21:26:12 2002 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 D28F037B401; Thu, 19 Dec 2002 21:26:11 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADE4343EDC; Thu, 19 Dec 2002 21:26:10 -0800 (PST) (envelope-from mike@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBK5QAfh089576; Thu, 19 Dec 2002 21:26:10 -0800 (PST) (envelope-from mike@repoman.freebsd.org) Received: (from mike@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBK5QAiN089575; Thu, 19 Dec 2002 21:26:10 -0800 (PST) Message-Id: <200212200526.gBK5QAiN089575@repoman.freebsd.org> From: Mike Barcroft Date: Thu, 19 Dec 2002 21:26:10 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/string strerror.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mike 2002/12/19 21:26:10 PST Modified files: lib/libc/string strerror.c Log: Stylistic changes: o Fix an English error (comma splice) and poorly worded sentence. o Fix KNF ordering of variables (pointers come before arithmetic types). o Restore hand-optimization of sizeof()-1, instead of strlen(). o Remove unneeded local variables in strerror_r(). Test by: strerror regression test Requested by: bde Reviewed by: bde Revision Changes Path 1.10 +14 -11 src/lib/libc/string/strerror.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message