diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-04-24 20:31:50 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-04-24 20:31:50 +0000 |
commit | 1100b0e29213d536814d675cb3e1faff447db322 (patch) | |
tree | c6eb5ed6b41bccaaa7a9b263cac188a143a89e74 /sysdeps | |
parent | 48f59b8e1a60fa1e9f20bfd322214cec1be3a635 (diff) |
Updated to fedora-glibc-20060424T2027
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/posix/getaddrinfo.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/readlinkat.c | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sync_file_range.c | 7 |
3 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index 843e60bba3..e4fea334ca 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -1516,7 +1516,7 @@ getaddrinfo (const char *name, const char *service, if ((hints->ai_flags & AI_CANONNAME) && name == NULL) return EAI_BADFLAGS; - struct in6addrinfo *in6ai; + struct in6addrinfo *in6ai = NULL; size_t in6ailen; bool seen_ipv4 = false; bool seen_ipv6 = false; diff --git a/sysdeps/unix/sysv/linux/readlinkat.c b/sysdeps/unix/sysv/linux/readlinkat.c index 9b4a730c0e..1361596503 100644 --- a/sysdeps/unix/sysv/linux/readlinkat.c +++ b/sysdeps/unix/sysv/linux/readlinkat.c @@ -87,3 +87,4 @@ readlinkat (fd, path, buf, len) return result; #endif } +libc_hidden_def (readlinkat) diff --git a/sysdeps/unix/sysv/linux/sync_file_range.c b/sysdeps/unix/sysv/linux/sync_file_range.c index aabe192341..7519bb7fe6 100644 --- a/sysdeps/unix/sysv/linux/sync_file_range.c +++ b/sysdeps/unix/sysv/linux/sync_file_range.c @@ -29,9 +29,10 @@ int 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), - (off_t) (from & 0xffffffff), (off_t) (to >> 32), - (off_t) (to & 0xffffffff), flags); + return INLINE_SYSCALL (sync_file_range, 6, fd, + __LONG_LONG_PAIR ((long) (from >> 32), (long) from), + __LONG_LONG_PAIR ((long) (to >> 32), (long) to), + flags); } #else int |