Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 1998 13:20:01 -0700 (PDT)
From:      Jacques Vidrine <n@nectar.com>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/2859: /usr/bin/quota seems to choke on long group file entries
Message-ID:  <199807272020.NAA19273@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/2859; it has been noted by GNATS.

From: Jacques Vidrine <n@nectar.com>
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 <n@nectar.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807272020.NAA19273>