From owner-cvs-lib Wed Dec 25 13:51:27 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA23483 for cvs-lib-outgoing; Wed, 25 Dec 1996 13:51:27 -0800 (PST) Received: (from wosch@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id NAA23474; Wed, 25 Dec 1996 13:51:26 -0800 (PST) Date: Wed, 25 Dec 1996 13:51:26 -0800 (PST) From: Wolfram Schneider Message-Id: <199612252151.NAA23474@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib Subject: cvs commit: src/lib/libc/gen getgrent.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/12/25 13:51:26 Modified: lib/libc/gen getgrent.c Log: Use dynamic allocated buffers instead static buffers. No member or line length limit anymore - now 500 members or 5000 members are possible. For security group lines longer than 256K will be count as an error. 256K should be enough for 65536 users. Support comments (lines that begin with a #) if compiled with option -DGROUP_IGNORE_COMMENTS. Fortunately it seems that all system utilities which use getgrent() functions are dynamically linked executables. So you need only rebuild libc.so.3.0 if you want this change. Note: if you have an old X server which depend on libc.so.2.* you should rebuild libc.so.2.* too. Not a 2.2 candidate. Revision Changes Path 1.14 +91 -19 src/lib/libc/gen/getgrent.c