summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-10-09 03:56:53 +0000
committerUlrich Drepper <drepper@redhat.com>2007-10-09 03:56:53 +0000
commite3f8e049106efc5090485621bc57727c5f784847 (patch)
tree4f7c66b380a8f4afd50e9ad2433af125e7139991
parent64ba41bcc699bd6b11ce4cefc3c65349da6f43db (diff)
downloadglibc-e3f8e049106efc5090485621bc57727c5f784847.tar.gz
glibc-e3f8e049106efc5090485621bc57727c5f784847.tar.xz
glibc-e3f8e049106efc5090485621bc57727c5f784847.zip
* sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use
	__read not read.
	* sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use
	__write not write.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/unix/sysv/linux/eventfd_read.c2
-rw-r--r--sysdeps/unix/sysv/linux/eventfd_write.c3
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e4ccedaccb..4c774652b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-10-08  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use
+	__read not read.
+	* sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use
+	__write not write.
+
 2007-10-07  Ulrich Drepper  <drepper@redhat.com>
 
 	[BZ #181]
diff --git a/sysdeps/unix/sysv/linux/eventfd_read.c b/sysdeps/unix/sysv/linux/eventfd_read.c
index 1113f11478..3b1059a0ab 100644
--- a/sysdeps/unix/sysv/linux/eventfd_read.c
+++ b/sysdeps/unix/sysv/linux/eventfd_read.c
@@ -24,5 +24,5 @@
 int
 eventfd_read (int fd, eventfd_t *value)
 {
-  return read (fd, value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
+  return __read (fd, value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
 }
diff --git a/sysdeps/unix/sysv/linux/eventfd_write.c b/sysdeps/unix/sysv/linux/eventfd_write.c
index 4bcf95daee..4b15990c3f 100644
--- a/sysdeps/unix/sysv/linux/eventfd_write.c
+++ b/sysdeps/unix/sysv/linux/eventfd_write.c
@@ -24,5 +24,6 @@
 int
 eventfd_write (int fd, eventfd_t value)
 {
-  return write (fd, &value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
+  return __write (fd, &value,
+		  sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
 }