glibc/sysdeps/unix/sysv/linux/alpha
Mark Wielaard 8b7b7f75d9 Add LFS support for fts functions (bug 11460)
fts didn't have large-file support yet and fts.h had an #error preventing
usage when _FILE_OFFSET_BITS was set. This required nasty workarounds for
programs using fts with LFS. This patch implements LFS support for fts by
adding FTS64 and FTENT64 variants plus fts64 functions. Which are simple
aliases for 64bit off_t arches.

Also includes a simple testcase for some of the fts functions with or
without LFS enabled.

	[BZ #11460]
	* io/Makefile (routines): Add fts64.
	(tests): Add tst-fts and tst-fts-lfs.
	(CFLAGS-fts64.c): New.
	* io/Versions (GLIBC_2.23): New.
	* io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
	function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
	FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
	FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
	* io/fts.h (FTS64): New if _USE_LARGEFILE64.
	(FTSENT64): Likewise.
	(fts64_children): Likewise.
	(fts64_close): Likewise.
	(fts64_open): Likewise.
	(fts64_read): Likewise.
	(fts64_set): Likewise.
	* io/fts64.c: New file.
	* io/tst-fts.c: New test.
	* io/tst-fts-lfs.c: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
	GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
	fts64_set.
	* sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
	* sysdeps/wordsize-64/fts.c: New file.
	* sysdeps/wordsize-64/fts64.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
	* sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
	* sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2015-11-06 11:24:16 +01:00
..
alpha Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
alphaev6/fpu Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
alphaev67/fpu Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
bits Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fpu Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
sys Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
Implies NPTL is no longer an add-on! 2014-07-07 09:29:06 -07:00
Makefile alpha: drop __ASSUME_FDATASYNC 2015-09-17 23:19:10 -04:00
Versions alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
____longjmp_chk.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
a.out.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
adjtime.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
aio_cancel.c alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
arch-fork.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
brk.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
c++-types.data alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
clone.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
configure Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
configure.ac Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
creat.c Remove __libc_creat function name. 2014-10-30 19:44:31 +00:00
dl-auxv.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
dl-brk.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-fxstatat64.c Remove __ASSUME_ATFCTS conditionals in sysdeps/unix/sysv/linux/. 2014-06-20 15:41:35 +00:00
dl-support.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-sysdep.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fraiseexcpt.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fstatfs64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fstatvfs.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fstatvfs64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fxstat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
fxstatat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getclktck.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
getcontext.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getdents.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
getdents64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
gethostname.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
glob.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ieee_get_fp_control.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ieee_set_fp_control.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
internal_statvfs64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
ioperm.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ipc_priv.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
kernel-features.h alpha: drop __ASSUME_FDATASYNC 2015-09-17 23:19:10 -04:00
kernel_sigaction.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
kernel_stat.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
kernel_sysinfo.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
ld.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
libBrokenLocale.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
libanl.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
libc.abilist Add LFS support for fts functions (bug 11460) 2015-11-06 11:24:16 +01:00
libcrypt.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
libdl.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
libm.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
libnsl.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
libpthread.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
libresolv.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
librt.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
libthread_db.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
libutil.abilist alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
localplt.data Run check-localpltk/textrel/execstack over ld.so. 2014-11-06 15:48:44 -05:00
lxstat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
makecontext.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
msgctl.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
nldbl-abi.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
oldglob.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
pipe.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
pt-vfork.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
register-dump.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
rt_sigaction.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
semctl.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
setcontext.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
setfpucw.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
shlib-versions Remove configuration name patterns from shlib-versions. 2014-09-12 12:28:47 +00:00
shmctl.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
sigaction.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigprocmask.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sigsuspend.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sizes.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
statfs64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
statvfs.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
statvfs64.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
swapcontext.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
syscall.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
syscalls.list alpha: Consolidate NPTL/non versions of vfork 2014-05-23 11:20:44 -07:00
sysconf.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sysdep-cancel.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
sysdep.h Add INLINE_SYSCALL_ERROR_RETURN_VALUE 2015-10-13 11:59:15 -07:00
timer_create.c alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
timer_delete.c alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
timer_getoverr.c alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
timer_gettime.c alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
timer_settime.c alpha: Move remaining files out of sysdeps/unix/sysv/linux/alpha/nptl/ 2014-05-23 11:20:48 -07:00
ucontext-offsets.sym Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
vfork.S Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
wordexp.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
xstat.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
xstatconv.c Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
xstatconv.h Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00