https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192935

--- Comment #6 from commit-h...@freebsd.org ---
A commit references this bug:

Author: jhb
Date: Wed Sep  3 19:01:34 UTC 2014
New revision: 271048
URL: http://svnweb.freebsd.org/changeset/base/271048

Log:
  Always seek back to the beginning of a regular directory, even if the
  previous seek location was 0.  Without this, readdir() would see
  dd_loc of zero and call getdirentries() which would start reading
  entries at the current seek location of the directory ignoring the
  first batch of entries.  Also, rewinddir() should always seek so that
  it reads the directory from the beginning to get updated entries.

  PR:        192935
  Reported by:    i...@mail.ua
  MFC after:    3 days

Changes:
  head/lib/libc/gen/rewinddir.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to