#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
283914 |
|
02-Jun-2015 |
jhb |
MFC 282552: Remove the note about seekdir() removing telldir() cookies. That was removed back in r269204.
|
#
282979 |
|
15-May-2015 |
julian |
MFH: r282485 Tweak seekdir, telldir and readdir so that when htere are deletes going on, as seek to teh last location saved will still work. This is needed for Samba to be able to correctly handle delete requests from windows. This does not completely fix seekdir when deletes are present but fixes the worst of the problems. The real solution must involve some changes to the API for eh VFS and getdirentries(2).
Obtained from: Panzura inc MFH: r282550 (jhb@) A few style fixes and expand the comment a bit on what _fixtelldir() is doing. MFH: r282560 (jhb@) Tweak the comment here some more. In particular, the previous opening sentence was a bit confusing. Noted by: kib
|
#
270002 |
|
14-Aug-2014 |
jhb |
MFC 268531,269079,269204: Fix various edge cases with rewinddir(), seekdir(), and telldir(): - In the unionfs case, opendir() and fdopendir() read the directory's full contents and cache it. This cache is not refreshed when rewinddir() is called, so rewinddir() will not notice updates to a directory. Fix this by splitting the code to fetch a directory's contents out of __opendir_common() into a new _filldir() function and call this from rewinddir() when operating on a unionfs directory. - If rewinddir() is called on a directory opened with fdopendir() before any directory entries are fetched, rewinddir() will not adjust the seek location of the backing file descriptor. If the file descriptor passed to fdopendir() had a non-zero offset, the rewinddir() will not rewind to the beginning. Fix this by always seeking back to 0 in rewinddir(). This means the dd_rewind hack can also be removed. - Add missing locking to rewinddir() - POSIX says that passing a location returned by telldir() to seekdir() after an intervening call to rewinddir() is undefined, so reclaim any pending telldir() cookies in the directory when rewinddir() is called. - If telldir() is called immediately after a call to seekdir(), POSIX requires the return value of telldir() to equal the value passed to seekdir(). The current seekdir code with SINGLEUSE enabled breaks this case as each call to telldir() allocates a new cookie. Instead, remove the SINGLEUSE code and change telldir() to look for an existing cookie for the directory's current location rather than always creating a new cookie.
PR: 121656
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
254499 |
|
18-Aug-2013 |
pjd |
Implement fdclosedir(3) function, which is equivalent to the closedir(3) function, but returns directory file descriptor instead of closing it.
Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org> Sponsored by: Google Summer of Code 2013
|
#
238141 |
|
05-Jul-2012 |
brooks |
Document the behavior (from 4.4-lite) that tokens returned by telldir() are single use.
Sponsored by: DARPA, AFRL MFC after: 3 days
|
#
231299 |
|
09-Feb-2012 |
eadler |
More accurately document what happens on error.
PR: docs/127908 Submitted by: Matthew D. Fuller <fullermd@over-yonder.net> Approved by: cperciva MFC after: 1 week
|
#
220024 |
|
26-Mar-2011 |
pjd |
Don't calculate len too early.
|
#
220023 |
|
26-Mar-2011 |
pjd |
Follow style(9) in example code and handle opendir(3) error.
|
#
178256 |
|
16-Apr-2008 |
delphij |
Implement fdopendir(3) by splitting __opendir2() into two parts, the upper part deals with the usual __opendir2() calls, and the rest part with an interface translator to expose fdopendir(3) functionality. Manual page was obtained from kib@'s work for *at(2) system calls.
|
#
165903 |
|
09-Jan-2007 |
imp |
Per Regents of the University of Calfornia letter, remove advertising clause.
# If I've done so improperly on a file, please let me know.
|
#
131539 |
|
03-Jul-2004 |
ru |
Eliminate double whitespace.
|
#
131504 |
|
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
#
108030 |
|
18-Dec-2002 |
ru |
mdoc(7) police: "The .Fn function".
|
#
84306 |
|
01-Oct-2001 |
ru |
mdoc(7) police: Use the new .In macro for #include statements.
|
#
79531 |
|
10-Jul-2001 |
ru |
mdoc(7) police: removed HISTORY info from the .Os call.
|
#
69656 |
|
06-Dec-2000 |
deischen |
Cleanup XXXdir functions to eliminate global hash table of telldir positions. This will allow (future) locking on a per-DIR basis (for MT-safety). For now, this change does the following:
o Remove the hash table from telldir.c. Recode to use queue macros.
o Remove 'const' from 'telldir(const DIR *)'.
o Remove 'register' variables as suggested in a recent thread.
No response from: -current
|
#
67967 |
|
30-Oct-2000 |
asmodai |
Whitespace only change: trim trailing whitespace.
|
#
59460 |
|
21-Apr-2000 |
phantom |
Introduce ".Lb" macro to libc manpages.
More libraries manpages updates following.
|
#
53872 |
|
29-Nov-1999 |
wes |
Provide a man page for Alfreds lovely readdir_r function. Also fixed a minor indentation nit and added a few {}s to make readdir_r easier on old eyes.
|
#
50476 |
|
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
48794 |
|
12-Jul-1999 |
nik |
Add $Id$, to make it simpler for members of the translation teams to track.
The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so;
.\" $Id$ .\"
If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted.
Approved by: bde
|
#
36603 |
|
03-Jun-1998 |
jkoshy |
Correct wrong claim about `telldir()' cookie lifetimes.
PR: 4043 Submitted by: Joe Orthoefer <j_orthoefer@tia.net>
|
#
21907 |
|
20-Jan-1997 |
wosch |
Sort cross references.
|
#
13750 |
|
30-Jan-1996 |
mpp |
Fix even more spelling errors in some more man pages.
|
#
1574 |
|
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1573, which included commits to RCS files with non-trunk default branches.
|
#
1573 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Lib Sources
|