forked from pool/glibc
6129e0af30
Update glibc-2.2-sunrpc.diff patch. OBS-URL: https://build.opensuse.org/request/show/75668 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=80
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
Refused by Ulrich Drepper:
|
|
http://sourceware.org/ml/libc-alpha/2011-07/msg00046.html
|
|
|
|
We have to keep it until gcc handles this better.
|
|
|
|
2009-11-06 Petr Baudis <pasky@suse.cz>
|
|
|
|
* include/sys/uio.h: Change __vector to __iovec to avoid clash
|
|
with altivec.
|
|
|
|
diff --git a/include/sys/uio.h b/include/sys/uio.h
|
|
index 8c2b016..bfaec59 100644
|
|
--- a/include/sys/uio.h
|
|
+++ b/include/sys/uio.h
|
|
@@ -2,12 +2,12 @@
|
|
#include <misc/sys/uio.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
-extern ssize_t __readv (int __fd, __const struct iovec *__vector,
|
|
+extern ssize_t __readv (int __fd, __const struct iovec *__iovec,
|
|
int __count);
|
|
-extern ssize_t __libc_readv (int __fd, __const struct iovec *__vector,
|
|
+extern ssize_t __libc_readv (int __fd, __const struct iovec *__iovec,
|
|
int __count);
|
|
-extern ssize_t __writev (int __fd, __const struct iovec *__vector,
|
|
+extern ssize_t __writev (int __fd, __const struct iovec *__iovec,
|
|
int __count);
|
|
-extern ssize_t __libc_writev (int __fd, __const struct iovec *__vector,
|
|
+extern ssize_t __libc_writev (int __fd, __const struct iovec *__iovec,
|
|
int __count);
|
|
#endif
|