From owner-cvs-all@FreeBSD.ORG Thu Apr 28 16:11:38 2005 Return-Path: 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 551A216A4CE; Thu, 28 Apr 2005 16:11:38 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BC0643D5E; Thu, 28 Apr 2005 16:11:38 +0000 (GMT) (envelope-from robert@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3SGBc8l052857; Thu, 28 Apr 2005 16:11:38 GMT (envelope-from robert@repoman.freebsd.org) Received: (from robert@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3SGBcPF052856; Thu, 28 Apr 2005 16:11:38 GMT (envelope-from robert) Message-Id: <200504281611.j3SGBcPF052856@repoman.freebsd.org> From: Robert Drehmel Date: Thu, 28 Apr 2005 16:11:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/id id.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 16:11:38 -0000 robert 2005-04-28 16:11:37 UTC FreeBSD src repository Modified files: usr.bin/id id.c Log: We need to pass NGROUPS + 1 to getgrouplist(3) to display NGROUPS groups. getgrouplist(3) may put a duplicate group id into the passed array (it sets [0] and [1] to the value of the gid argument), but id_print() sorts them out. Revision Changes Path 1.25 +1 -1 src/usr.bin/id/id.c