mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-05 01:00:14 +00:00
* sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use
__LONG_LONG_PAIR macro.
This commit is contained in:
parent
a346370d58
commit
589abe9337
@ -1,5 +1,8 @@
|
|||||||
2006-04-24 Jakub Jelinek <jakub@redhat.com>
|
2006-04-24 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range): Use
|
||||||
|
__LONG_LONG_PAIR macro.
|
||||||
|
|
||||||
* posix/bits/unistd.h (__readlinkat_chk): New prototype.
|
* posix/bits/unistd.h (__readlinkat_chk): New prototype.
|
||||||
(__readlinkat_alias): New alias.
|
(__readlinkat_alias): New alias.
|
||||||
(readlinkat): New inline function.
|
(readlinkat): New inline function.
|
||||||
|
@ -29,9 +29,10 @@
|
|||||||
int
|
int
|
||||||
sync_file_range (int fd, __off64_t from, __off64_t to, int flags)
|
sync_file_range (int fd, __off64_t from, __off64_t to, int flags)
|
||||||
{
|
{
|
||||||
return INLINE_SYSCALL (sync_file_range, 6, fd, (off_t) (from >> 32),
|
return INLINE_SYSCALL (sync_file_range, 6, fd,
|
||||||
(off_t) (from & 0xffffffff), (off_t) (to >> 32),
|
__LONG_LONG_PAIR ((long) (from >> 32), (long) from),
|
||||||
(off_t) (to & 0xffffffff), flags);
|
__LONG_LONG_PAIR ((long) (to >> 32), (long) to),
|
||||||
|
flags);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user