Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Sep 2014 19:01:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 192935] rewinddir/seekdir/telldir changes in 10-STABLE r270002 broke some php functionality
Message-ID:  <bug-192935-8-TO9rGSd913@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192935-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192935-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192935

--- Comment #6 from commit-hook@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:    iron@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192935-8-TO9rGSd913>