diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-06 04:47:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-06 04:47:31 +0000 |
commit | 3ce6992e99833946b05947f2e3d33a2e96423a84 (patch) | |
tree | 4ef10a9d025a627a668fd47b89a9c1c79d99e58b /libc/sysdeps/linux | |
parent | 17cb1552310b7745c873ab98580d3ea0ed91878e (diff) |
use hidden read/write symbols
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/common/pread_write.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/pread_write.c b/libc/sysdeps/linux/common/pread_write.c index 0019e05f6..7183ac9a7 100644 --- a/libc/sysdeps/linux/common/pread_write.c +++ b/libc/sysdeps/linux/common/pread_write.c @@ -109,10 +109,10 @@ static ssize_t __fake_pread_write(int fd, void *buf, if (do_pwrite==1) { /* Write the data. */ - result = write(fd, buf, count); + result = __write(fd, buf, count); } else { /* Read the data. */ - result = read(fd, buf, count); + result = __read(fd, buf, count); } /* Now we have to restore the position. If this fails we @@ -147,10 +147,10 @@ static ssize_t __fake_pread_write64(int fd, void *buf, if (do_pwrite==1) { /* Write the data. */ - result = write(fd, buf, count); + result = __write(fd, buf, count); } else { /* Read the data. */ - result = read(fd, buf, count); + result = __read(fd, buf, count); } /* Now we have to restore the position. */ |