From owner-cvs-all Thu Jul 18 0:37:38 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 B01B837B400; Thu, 18 Jul 2002 00:37:36 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62CA143E5E; Thu, 18 Jul 2002 00:37:36 -0700 (PDT) (envelope-from jmallett@FreeBSD.org) Received: from freefall.freebsd.org (jmallett@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6I7baJU095619; Thu, 18 Jul 2002 00:37:36 -0700 (PDT) (envelope-from jmallett@freefall.freebsd.org) Received: (from jmallett@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6I7ba46095618; Thu, 18 Jul 2002 00:37:36 -0700 (PDT) Message-Id: <200207180737.g6I7ba46095618@freefall.freebsd.org> From: Juli Mallett Date: Thu, 18 Jul 2002 00:37:35 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/sccs/sccscmds/com permiss.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 jmallett 2002/07/18 00:37:35 PDT Modified files: sccs/sccscmds/com permiss.c Log: * Superfluously re-indent code to accomodate functional changes. Bruce Evans * Use strtoul(3) to get the gid_t value. * Check for overflow via errno==ERANGE, and also check for equality after reassignment from unsigned long to gid_t, to look for truncation. Revision Changes Path 1.18 +19 -6 projects/sccs/sccscmds/com/permiss.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message