From owner-cvs-all Wed May 8 2: 6:54 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7BBB237B405; Wed, 8 May 2002 02:06:48 -0700 (PDT) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4896mK59173; Wed, 8 May 2002 02:06:48 -0700 (PDT) (envelope-from alfred) Message-Id: <200205080906.g4896mK59173@freefall.freebsd.org> From: Alfred Perlstein Date: Wed, 8 May 2002 02:06:48 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sig.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 alfred 2002/05/08 02:06:48 PDT Modified files: sys/kern kern_sig.c Log: expand_name fixes: .) don't use MAXPATHLEN + 1, fix logic to compensate. .) style(9) function parameters. .) fix line wrapping. .) remove duplicated error and string handling code. .) don't NUL terminate already NUL terminated string. .) all string length variables changed from int to size_t. .) constify variables. .) catch when corename would be truncated. .) cast pid_t and uid_t args for format string. .) add parens around return arguments. Help and suggestions from: bde Revision Changes Path 1.162 +32 -38 src/sys/kern/kern_sig.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message