[Bug 192935] rewinddir/seekdir/telldir changes in 10-STABLE r270002 broke some php functionality

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 3 19:01:47 UTC 2014


--- Comment #6 from commit-hook at 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

  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:    iron at mail.ua
  MFC after:    3 days


You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list