From owner-freebsd-bugs Mon Jul 27 13:21:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA29861 for freebsd-bugs-outgoing; Mon, 27 Jul 1998 13:21:34 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA29794 for ; Mon, 27 Jul 1998 13:21:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA19273; Mon, 27 Jul 1998 13:20:01 -0700 (PDT) Date: Mon, 27 Jul 1998 13:20:01 -0700 (PDT) Message-Id: <199807272020.NAA19273@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Jacques Vidrine Subject: Re: bin/2859: /usr/bin/quota seems to choke on long group file entries Reply-To: Jacques Vidrine Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/2859; it has been noted by GNATS. From: Jacques Vidrine To: freebsd-gnats-submit@freebsd.org, chip@jlc.net Cc: Subject: Re: bin/2859: /usr/bin/quota seems to choke on long group file entries Date: Mon, 27 Jul 1998 15:20:09 -0500 This is actually a limitation of getgroups() and family. The line length is limited to 1024 characters. In a pinch, one change the definition of MAXLINELENGTH in libc/gen/getgrent.c to something larger and recompile libc. This is fixed in -CURRENT, revision 1.14 libc/gen/getgrent.c, where such buffers are dynamically allocated, and the restriction is now 256K per line. -- Jacques Vidrine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message