glibc/io
Ulrich Drepper ca10f33858 Update.
2003-11-07  Jakub Jelinek  <jakub@redhat.com>

	* io/ftw.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define.
	(ftw_dir, ftw_startup): Add __attribute ((noinline)).
	(NFTW_OLD_NAME, NFTW_NEW_NAME): New functions.
	(NFTW_NAME): Only define if !_LIBC, add versioned_symbol
	and compat_symbol.
	* io/ftw64.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define.
	* io/Versions (libc): Export nftw@@GLIBC_2.3.3
	and nftw64@@GLIBC_2.3.3.

	* io/ftw.h (FTW_ACTIONRETVAL): New flag.
	(FTW_CONTINUE, FTW_STOP, FTW_SKIP_SUBTREE, FTW_SKIP_SIBLINGS): New.
	* io/ftw.c (ftw_dir): Add old_dir argument.
	Clear result if it was FTW_SKIP_SIBLINGS after processing all
	dir entries.  Change cwd back if old_dir != NULL.
	(process_entry): Adjust caller.  Don't change cwd back here.
	Change FTW_SKIP_SUBTREE result to 0.
	(ftw_startup): Adjust ftw_dir caller.
	Clear result if it was FTW_SKIP_SUBTREE or FTW_SKIP_SIBLINGS.
	* io/ftwtest.c (skip_subtree, skip_siblings): New variables.
	(options, main): Add --skip-subtree and --skip-siblings options.
	(cb): Use return FTW_CONTINUE instead of return 0.
	Handle --skip-subtree and --skip-siblings.
	* io/ftwtest-sh: Add tests for FTW_ACTIONRETVAL.
	* manual/filesys.texi: Document FTW_ACTIONRETVAL.
2003-11-07 23:00:00 +00:00
..
sys Include time.h with __need_timespec even if __USE_MISC is defined but __USE_XOPEN is not. 2003-01-02 07:51:18 +00:00
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
bug-ftw1.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug-ftw2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bug-ftw3.c Update. 2002-02-07 17:54:45 +00:00
bug-ftw4.c Update. 2003-11-04 21:11:41 +00:00
fcntl.h Update. 2003-09-12 22:37:19 +00:00
fstat64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fstat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fts.c * nscd/cache.c (cache_search): Give first arg type `request_type'. 2003-03-16 01:04:03 +00:00
fts.h Update. 2003-09-12 22:37:19 +00:00
ftw64.c Update. 2003-11-07 23:00:00 +00:00
ftw.c Update. 2003-11-07 23:00:00 +00:00
ftw.h Update. 2003-11-07 23:00:00 +00:00
ftwtest-sh Update. 2003-11-07 23:00:00 +00:00
ftwtest.c Update. 2003-11-07 23:00:00 +00:00
getdirname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getwd.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lstat64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lstat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Makefile Update. 2003-11-04 21:11:41 +00:00
poll.h initial import 1995-02-18 01:27:10 +00:00
pwd.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
stat64.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
stat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-lfs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-stat2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-stat.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-utime.c Update. 2003-07-15 08:59:35 +00:00
tst-fcntl.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-getcwd.c Fix format strings. 2002-09-30 07:47:16 +00:00
tst-statvfs.c Update. 2003-10-27 04:05:04 +00:00
utime.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Versions Update. 2003-11-07 23:00:00 +00:00