History log of /csrg-svn/lib/libc/gen/fts.c (Results 26 – 48 of 48)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 52155 09-Jan-1992 bostic

KNF

# 52150 08-Jan-1992 bostic

lint and KNF

# 52073 30-Dec-1991 bostic

weren't checking high enough in the tree for cycles; get rid of the
savelink stuff and just add another pointer field to the FTSENT structure

# 52061 23-Dec-1991 bostic

prototype internal routines

# 49519 09-May-1991 bostic

set level before calling fts_stat during fts_open, cycle detection uses it

# 47404 14-Mar-1991 bostic

fts_load no longer has any return value

# 47403 14-Mar-1991 bostic

don't set XDEV dev_t until have stat'd the root of the tree

# 47220 11-Mar-1991 bostic

change to return to starting node before postorder return of root
nodes; move chdir calls from fts_load to fts_read. Nasty.

# 47212 11-Mar-1991 bostic

#define root and root's parent fts_level values in <fts.h>
delete hack to make root DNE error FTS_ERR instead of FTS_NS, the usual return

# 47194 10-Mar-1991 bostic

rework to set errno on fts_info error cases, return names from unsearchable
directories

# 47155 08-Mar-1991 bostic

ANSI; #ifdef out code to delete trailing slashes from user path

# 45627 18-Nov-1990 bostic

wasn't resetting errno for fts_children call of fts_build for
unsearchable directories

# 45600 14-Nov-1990 bostic

use macros to set/read options
rename functions/fields to POSIX names
make comments consistently use capital letters
get rid of global variable stream and pass around current stream pointer
don't cas

use macros to set/read options
rename functions/fields to POSIX names
make comments consistently use capital letters
get rid of global variable stream and pass around current stream pointer
don't cast free to void
add FTS__NOINSTR flag, instead of using 0 as "no user instructions"
allow fts_children call for FTS_{D,DNR,DNX} instead of just FTS_D
change fts_build so that fts_children can read FTS_DNX directories
make fts_stat return FTS_NS on stat failure, not FTS_ERR
make fts_stat unset errno on FTS_{NS,SLNONE} conditions

show more ...

# 43075 09-Jun-1990 bostic

don't bother stating the root paths, if FTS_NOSTAT set

# 43070 09-Jun-1990 bostic

delete FTS_MULTIPLE

# 42301 24-May-1990 bostic

do post-order visit if FTS_SKIP or FTS_XDEV apply to preorder visit

# 42299 23-May-1990 bostic

FTS_LOGICAL sets FTS_NOCHDIR; otherwise have to save full path each time
it indirects through a symlink. Instead of doing getwd/chdir's, open an fd
and do an fchdir; wastes an fd per open stream. F

FTS_LOGICAL sets FTS_NOCHDIR; otherwise have to save full path each time
it indirects through a symlink. Instead of doing getwd/chdir's, open an fd
and do an fchdir; wastes an fd per open stream. Fix ftschildren() -- redid
most of the directory handling logic, special case first node in case it gets
called before ftsread does a chdir to the subdirectory. Minor changes to path
handling in fts_build.

show more ...

# 42281 22-May-1990 bostic

redo the way the initial linked list of "roots" is set up; broke
if you called ftsread multiple times in the same program.

# 42280 22-May-1990 bostic

add FTS_XDEV; don't cross mount points

# 42273 22-May-1990 bostic

change the names from foo to fts_foo

# 40939 16-Apr-1990 bostic

remove permissions checking code, let the kernel do it. This means
that FTS_{DNR,DNX} are not returned until post-order directory visit.

# 39962 31-Jan-1990 bostic

add fchdir; reduce number of cd's, do all cd's in fts_build

# 39800 30-Dec-1989 bostic

date and time created 89/12/30 15:55:11 by bostic

12