[BZ #961]
authorUlrich Drepper <drepper@redhat.com>
Mon, 23 May 2005 17:37:21 +0000 (17:37 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 23 May 2005 17:37:21 +0000 (17:37 +0000)
2005-05-22  Dmitry V. Levin  <ldv@altlinux.org>
[BZ #961]
* io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
declarations.

ChangeLog
io/sys/sendfile.h
linuxthreads/ChangeLog
linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
sunrpc/pm_getmaps.c

index 9f5fb9cf2f8b8ee1fe2da0fc4179ede87dec8ed7..079bfe5fe8ecd551d51b9ece43be400bfa81b949 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-05-22  Dmitry V. Levin  <ldv@altlinux.org>
+
+       [BZ #961]
+       * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
+       declarations.
+
 2005-05-23  Ulrich Drepper  <drepper@redhat.com>
 
        * sunrpc/pm_getport.c (__get_socket): New function.
index 24256b5414df3fdcef7811e14736459b8b796c34..4c1367b6be75a8edf42709a8b40ad00b113f6b15 100644 (file)
@@ -32,19 +32,19 @@ __BEGIN_DECLS
    case of error.  */
 #ifndef __USE_FILE_OFFSET64
 extern ssize_t sendfile (int __out_fd, int __in_fd, off_t *__offset,
-                        size_t __count) __THROW __nonnull ((3));
+                        size_t __count) __THROW;
 #else
 # ifdef __REDIRECT_NTH
 extern ssize_t __REDIRECT_NTH (sendfile,
                               (int __out_fd, int __in_fd, __off64_t *__offset,
-                               size_t __count), sendfile64) __nonnull ((3));
+                               size_t __count), sendfile64);
 # else
 #  define sendfile sendfile64
 # endif
 #endif
 #ifdef __USE_LARGEFILE64
 extern ssize_t sendfile64 (int __out_fd, int __in_fd, __off64_t *__offset,
-                          size_t __count) __THROW __nonnull ((3));
+                          size_t __count) __THROW;
 #endif
 
 __END_DECLS
index 93f7e97c05381d3ec094b6f95b69d09564d87157..b37a40c3e7990837e3948d2c7356bbbdba2943db 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
+       [IS_IN_librt] (CENABLE, CDISABLE): Use JUMPTARGET instead of
+       __librt_*_asynccancel@local.
+
 2005-05-17  Alan Modra  <amodra@bigpond.net.au>
 
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Delete
index ea0c1f9f37bb78d6a284330564dbbd73386e97b1..2f7c546a4c62e917ad05a3bf7895f5fcb36db5ca 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2003, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>, 2003.
 
@@ -82,8 +82,8 @@
 #  define CENABLE      bl __libc_enable_asynccancel@local
 #  define CDISABLE     bl __libc_disable_asynccancel@local
 # else
-#  define CENABLE      bl __librt_enable_asynccancel@local
-#  define CDISABLE     bl __librt_disable_asynccancel@local
+#  define CENABLE      bl JUMPTARGET(__librt_enable_asynccancel)
+#  define CDISABLE     bl JUMPTARGET(__librt_disable_asynccancel)
 # endif
 
 # ifdef HAVE_TLS_SUPPORT
index ab0f680adbaa7ce5e1a301975e493bf80411811f..b5ec0e44d19adc12732863b07dc169ec8618f43b 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-23  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
+       [IS_IN_librt] (CENABLE, CDISABLE): Use JUMPTARGET instead of
+       __librt_*_asynccancel@local.
+
 2005-05-17  Alan Modra  <amodra@bigpond.net.au>
 
        * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Delete
index c61b3a66bb6903949ce3c57f6bbe177040335d94..393c171eef84f15768f0980bd66451facb2948c8 100644 (file)
@@ -1,5 +1,5 @@
 /* Cancellable system call stubs.  Linux/PowerPC version.
-   Copyright (C) 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>, 2003.
 
@@ -91,8 +91,8 @@
 #  define CENABLE      bl __libc_enable_asynccancel@local
 #  define CDISABLE     bl __libc_disable_asynccancel@local
 # elif defined IS_IN_librt
-#  define CENABLE      bl __librt_enable_asynccancel@local
-#  define CDISABLE     bl __librt_disable_asynccancel@local
+#  define CENABLE      bl JUMPTARGET(__librt_enable_asynccancel)
+#  define CDISABLE     bl JUMPTARGET(__librt_disable_asynccancel)
 # else
 #  error Unsupported library
 # endif
index 6e304a3372d59600642498d7acc03cc42c29119d..2a6876d9d808b8e3665cab8585880ba1aa0c43bb 100644 (file)
@@ -67,7 +67,7 @@ pmap_getmaps (struct sockaddr_in *address)
   minutetimeout.tv_usec = 0;
   address->sin_port = htons (PMAPPORT);
 
-  /* Don't need a reserver port to get ports from the portmapper */
+  /* Don't need a reserved port to get ports from the portmapper.  */
   int socket = __get_socket (address);
   if (socket != -1)
     closeit = true;