History log of /original-bsd/lib/libc/gen/fts.c (Results 1 – 25 of 48)
Revision Date Author Comments
# 6938a03f 14-Aug-1994 mckusick <mckusick@65305748-3e16-e211-a854-8c89a5c6f760>

DT_WHTD is gone


# 4ba124f7 28-Jul-1994 pendry <pendry@65305748-3e16-e211-a854-8c89a5c6f760>

changes for whiteouts and union filesystem


# 56734111 16-Apr-1994 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

ANSI C cleanups


# 89111116 16-Apr-1994 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

Fix obscure bug where the working directory would not be restored to its
proper place (occurs if one of fts_open()'s arguments is a relative path
to a empty directory).
From: conklin@ngai.kaleida.com

Fix obscure bug where the working directory would not be restored to its
proper place (occurs if one of fts_open()'s arguments is a relative path
to a empty directory).
From: conklin@ngai.kaleida.com (J.T. Conklin)

show more ...


# e4a2c213 02-Jan-1994 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

don't increment a void *, it's not healthy


# bac379f5 04-Jun-1993 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

4.4BSD snapshot (revision 8.1); add 1993 to copyright


# 02dc5417 26-Apr-1993 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

check file type on new file systems, eliminate more stat calls


# e898f4f5 07-Mar-1993 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

if reach the root directory, have to cd to the original directory
when load the paths for the next root. test case is "du d1/d1d1 d2/d2d1",
the second root will not be in the right directory.


# a1c0589b 23-Jul-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

have to set maxlen before allocate the path, have to use the path
before calculate maxlen; do two passes through argv.


# 050b7cce 02-Jun-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

fix allocated stat structure alignment


# 1440652b 05-May-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

set no chdir bit no matter where fts_build called from


# 95b3dcde 05-May-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

don't chdir after unexecutable directory


# 89c1baa3 30-Mar-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

don't close fts_rfd if can't get back, fts_close will try again


# 61dc91e1 30-Mar-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

don't bother to cd if didn't successfully build the child (not a bug
but not necessary); check FTS_NOCHDIR on up-to-parent FCHDIR; don't close the
file descriptor on successful return to root directo

don't bother to cd if didn't successfully build the child (not a bug
but not necessary); check FTS_NOCHDIR on up-to-parent FCHDIR; don't close the
file descriptor on successful return to root directory; set FTS_DP in fts_build

show more ...


# 75488636 20-Mar-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

fix post-order visit to empty directories to not close fts_rfd
save errno across close of failed chdir's; set FTS_DP in fts_read, not
fts_build


# 4dfc6adb 05-Mar-1992 elan <elan@65305748-3e16-e211-a854-8c89a5c6f760>

Made fts_pointer and fts_number fields separate fields.


# d2dd8e4c 01-Mar-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

add FTS_NAMEONLY flag to fts_children; check options for validity


# 8cc874da 19-Feb-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

align the allocated stat structure correctly


# 7c46527d 04-Feb-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

add FTS_COMFOLLOW flag


# 7a5710f8 03-Feb-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

fix FTS_FOLLOW so fts can actually return; add flags to FTS struct for
symbolic link follow and chdir errors; close symbolic link file descriptors;
nlink and cderror fixes in fts_build to make ls wor

fix FTS_FOLLOW so fts can actually return; add flags to FTS struct for
symbolic link follow and chdir errors; close symbolic link file descriptors;
nlink and cderror fixes in fts_build to make ls work; link directories in
forward order for ls -f; minor fixes

show more ...


# 1ce9306e 31-Jan-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

rework errno processing to be more consistent and to set in the correct
node; don't chdir back up if unable to chdir down; preserve the cd error
value to set in each node of the directory that is read


# 0ff7d26e 17-Jan-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

see accpath, used by fts_stat


# d78c8b24 15-Jan-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

adjust tree pointers when realloc space; add FTS_DOT; don't allocate
stat structures unless user needs them;


# 782daaf4 14-Jan-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

set errno on FTS_DNR


# 22081bc2 09-Jan-1992 bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760>

fts_children needs to return user's logical hierarchy;
change fts_cderr to fts_errno; change fts_children to recognize call before
fts_read called; change fts_stat to set fts_errno on error


12