Date: Thu, 1 Jun 2006 15:45:06 +0000 (UTC) From: Maxim Konovalov <maxim@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen getgrent.c Message-ID: <200606011545.k51Fj62t030968@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
maxim 2006-06-01 15:45:06 UTC
FreeBSD src repository
Modified files:
lib/libc/gen getgrent.c
Log:
o Record a file offset for a last successfully parsed group file line.
If the initial buffer size (1KB) for the given group line is not big
enough, reset the offset. It helps to do not miss this line when
getrg() reallocates the larger buffer and tries to parse the line again.
PR: bin/52433, kern/55031, bin/83696, misc/97640, misc/98111
Submitted by: bsw71@mail.ru, Philip M. Gollucci, Justin Erenkrantz
Glanced at: nectar
MFC after: 1 month
Revision Changes Path
1.34 +8 -0 src/lib/libc/gen/getgrent.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606011545.k51Fj62t030968>
