This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.20-133-ge19c95f


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  e19c95fd5ed81c1d47c6784c18942c552e6f4562 (commit)
      from  65b00b6c51c09bbce4876fac87ec4f8ad8399697 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=e19c95fd5ed81c1d47c6784c18942c552e6f4562

commit e19c95fd5ed81c1d47c6784c18942c552e6f4562
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Oct 30 20:56:34 2014 +0000

    Remove __libc_readv and __libc_writev function names.
    
    Continuing the removal of __libc_* function names that are no longer
    used anywhere, this patch removes the __libc_readv and __libc_writev
    names.
    
    Tested for x86_64 that stripped installed shared libraries are
    unchanged by the patch.
    
    	* include/sys/uio.h (__libc_readv): Remove declaration.
    	(__libc_writev): Likewise.
    	* misc/readv.c (__libc_readv): Rename to __readv.
    	(__readv): Do not define as alias.
    	(readv): Define as alias of __readv.
    	* misc/writev.c (__libc_writev): Rename to __writev.
    	(__writev): Do not define as alias.
    	(writev): Define as alias of __writev.
    	* sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
    	(__readv): Do not define as alias.
    	(readv): Define unconditionally as alias of __readv.
    	* sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
    	(__writev): Do not define as alias.
    	(writev): Define unconditionally as alias of __writev.
    	* sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
    	name.
    	(writev): Do not define __libc_writev name.

diff --git a/ChangeLog b/ChangeLog
index b3eaf53..44920af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2014-10-30  Joseph Myers  <joseph@codesourcery.com>
+
+	* include/sys/uio.h (__libc_readv): Remove declaration.
+	(__libc_writev): Likewise.
+	* misc/readv.c (__libc_readv): Rename to __readv.
+	(__readv): Do not define as alias.
+	(readv): Define as alias of __readv.
+	* misc/writev.c (__libc_writev): Rename to __writev.
+	(__writev): Do not define as alias.
+	(writev): Define as alias of __writev.
+	* sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
+	(__readv): Do not define as alias.
+	(readv): Define unconditionally as alias of __readv.
+	* sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
+	(__writev): Do not define as alias.
+	(writev): Define unconditionally as alias of __writev.
+	* sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
+	name.
+	(writev): Do not define __libc_writev name.
+
 2014-10-30  Roland McGrath  <roland@hack.frob.com>
 
 	* iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
diff --git a/include/sys/uio.h b/include/sys/uio.h
index 7d67d67..f44ce18 100644
--- a/include/sys/uio.h
+++ b/include/sys/uio.h
@@ -5,11 +5,7 @@
 /* Now define the internal interfaces.  */
 extern ssize_t __readv (int __fd, const struct iovec *__iovec,
 			int __count);
-extern ssize_t __libc_readv (int __fd, const struct iovec *__iovec,
-			     int __count);
 extern ssize_t __writev (int __fd, const struct iovec *__iovec,
 			 int __count);
-extern ssize_t __libc_writev (int __fd, const struct iovec *__iovec,
-			      int __count);
 #endif
 #endif
diff --git a/misc/readv.c b/misc/readv.c
index 5cc24eb..a624e78 100644
--- a/misc/readv.c
+++ b/misc/readv.c
@@ -25,7 +25,7 @@
    Operates just like `read' (see <unistd.h>) except that data are
    put in VECTOR instead of a contiguous buffer.  */
 ssize_t
-__libc_readv (fd, vector, count)
+__readv (fd, vector, count)
      int fd;
      const struct iovec *vector;
      int count;
@@ -33,7 +33,6 @@ __libc_readv (fd, vector, count)
   __set_errno (ENOSYS);
   return -1;
 }
-strong_alias (__libc_readv, __readv)
-weak_alias (__libc_readv, readv)
+weak_alias (__readv, readv)
 
 stub_warning (readv)
diff --git a/misc/writev.c b/misc/writev.c
index b703aac..f2eb92c 100644
--- a/misc/writev.c
+++ b/misc/writev.c
@@ -25,7 +25,7 @@
    Operates just like `write' (see <unistd.h>) except that the data
    are taken from VECTOR instead of a contiguous buffer.  */
 ssize_t
-__libc_writev (fd, vector, count)
+__writev (fd, vector, count)
      int fd;
      const struct iovec *vector;
      int count;
@@ -33,7 +33,6 @@ __libc_writev (fd, vector, count)
   __set_errno (ENOSYS);
   return -1;
 }
-strong_alias (__libc_writev, __writev)
-weak_alias (__libc_writev, writev)
+weak_alias (__writev, writev)
 
 stub_warning (writev)
diff --git a/sysdeps/posix/readv.c b/sysdeps/posix/readv.c
index b7a8e1e..59e4caa 100644
--- a/sysdeps/posix/readv.c
+++ b/sysdeps/posix/readv.c
@@ -37,7 +37,7 @@ ifree (char **ptrp)
    Operates just like 'read' (see <unistd.h>) except that data are
    put in VECTOR instead of a contiguous buffer.  */
 ssize_t
-__libc_readv (int fd, const struct iovec *vector, int count)
+__readv (int fd, const struct iovec *vector, int count)
 {
   /* Find the total number of bytes to be read.  */
   size_t bytes = 0;
@@ -88,7 +88,4 @@ __libc_readv (int fd, const struct iovec *vector, int count)
 
   return bytes_read;
 }
-#ifndef __libc_readv
-strong_alias (__libc_readv, __readv)
-weak_alias (__libc_readv, readv)
-#endif
+weak_alias (__readv, readv)
diff --git a/sysdeps/posix/writev.c b/sysdeps/posix/writev.c
index ef0058e..5ea5d05 100644
--- a/sysdeps/posix/writev.c
+++ b/sysdeps/posix/writev.c
@@ -38,7 +38,7 @@ ifree (char **ptrp)
    Operates just like 'write' (see <unistd.h>) except that the data
    are taken from VECTOR instead of a contiguous buffer.  */
 ssize_t
-__libc_writev (int fd, const struct iovec *vector, int count)
+__writev (int fd, const struct iovec *vector, int count)
 {
   /* Find the total number of bytes to be written.  */
   size_t bytes = 0;
@@ -88,7 +88,4 @@ __libc_writev (int fd, const struct iovec *vector, int count)
 
   return bytes_written;
 }
-#ifndef __libc_writev
-strong_alias (__libc_writev, __writev)
-weak_alias (__libc_writev, writev)
-#endif
+weak_alias (__writev, writev)
diff --git a/sysdeps/unix/syscalls.list b/sysdeps/unix/syscalls.list
index 0b3c1b9..b3358bd 100644
--- a/sysdeps/unix/syscalls.list
+++ b/sysdeps/unix/syscalls.list
@@ -52,7 +52,7 @@ profil		-	profil		i:piii	__profil	profil
 ptrace		-	ptrace		i:iiii	ptrace
 read		-	read		Ci:ibn	__libc_read	__read read
 readlink	-	readlink	i:spi	__readlink	readlink
-readv		-	readv		Ci:ipi	__libc_readv	__readv readv
+readv		-	readv		Ci:ipi	__readv		readv
 reboot		-	reboot		i:i	reboot
 recv		-	recv		Ci:ibni	__libc_recv	recv
 recvfrom	-	recvfrom	Ci:ibniBN	__libc_recvfrom __recvfrom recvfrom
@@ -99,4 +99,4 @@ unlink		-	unlink		i:s	__unlink	unlink
 utimes		-	utimes		i:sp	__utimes	utimes
 vhangup		-	vhangup		i:i	vhangup
 write		-	write		Ci:ibn	__libc_write	__write write
-writev		-	writev		Ci:ipi	__libc_writev	__writev writev
+writev		-	writev		Ci:ipi	__writev	writev

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |   20 ++++++++++++++++++++
 include/sys/uio.h          |    4 ----
 misc/readv.c               |    5 ++---
 misc/writev.c              |    5 ++---
 sysdeps/posix/readv.c      |    7 ++-----
 sysdeps/posix/writev.c     |    7 ++-----
 sysdeps/unix/syscalls.list |    4 ++--
 7 files changed, 30 insertions(+), 22 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]