diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-03-26 20:38:57 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-03-26 20:38:57 +0000 |
commit | 4e87573fe224a5d187f463a6e051f5781e38fd97 (patch) | |
tree | 40458345c225197b11981fe2de4a1c4e6511ea27 /sysdeps | |
parent | fa6e3bc38aaf82c80759f5dbdc9ec0d60ce7ee51 (diff) | |
download | glibc-4e87573fe224a5d187f463a6e051f5781e38fd97.zip glibc-4e87573fe224a5d187f463a6e051f5781e38fd97.tar.gz glibc-4e87573fe224a5d187f463a6e051f5781e38fd97.tar.bz2 |
* sysdeps/unix/sysv/linux/Versions: Move sync_file_range to
GLIBC_2.6.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
Add sync_file_range.
Reported by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/Makefile | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/Versions | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index 8bec6cd..1d9443a 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -134,7 +134,8 @@ CFLAGS-ypclnt.c = -DUSE_BINDINGDIR=1 endif ifeq ($(subdir),io) -sysdep_routines += xstatconv internal_statvfs internal_statvfs64 +sysdep_routines += xstatconv internal_statvfs internal_statvfs64 \ + sync_file_range endif ifeq ($(subdir),elf) diff --git a/sysdeps/unix/sysv/linux/Versions b/sysdeps/unix/sysv/linux/Versions index 137b44c..bb5b862 100644 --- a/sysdeps/unix/sysv/linux/Versions +++ b/sysdeps/unix/sysv/linux/Versions @@ -124,10 +124,10 @@ libc { _sys_errlist; sys_errlist; _sys_nerr; sys_nerr; } GLIBC_2.5 { - splice; sync_file_range; tee; vmsplice; + splice; tee; vmsplice; } GLIBC_2.6 { - epoll_pwait; + epoll_pwait; sync_file_range; } GLIBC_PRIVATE { # functions used in other libraries |