Skip to content

Commit

Permalink
[BZ #961]
Browse files Browse the repository at this point in the history
2005-05-22  Dmitry V. Levin  <ldv@altlinux.org>
	[BZ #961]
	* io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
	declarations.
  • Loading branch information
Ulrich Drepper committed May 23, 2005
1 parent ceef26a commit c179df4
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 10 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions io/sys/sendfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions linuxthreads/ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion sunrpc/pm_getmaps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c179df4

Please sign in to comment.