* 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.
This commit is contained in:
parent
64ba41bcc6
commit
e3f8e04910
@ -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]
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user