cvs commit: src/lib/libc/gen getgrent.c

Maxim Konovalov maxim at FreeBSD.org
Thu Jun 1 15:46:36 UTC 2006


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 at 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


More information about the cvs-src mailing list