diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/eventfd_read.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/eventfd_write.c | 3 |
3 files changed, 10 insertions, 2 deletions
@@ -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; } |