Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-01-03 03:16:49 +0300
committerJeff Johnston <jjohnstn@redhat.com>2008-01-03 03:16:49 +0300
commit7c8bd7a075a84a4d9010334b0f0cfc6cf45f49a7 (patch)
tree6a9b84fbfc5379094e2785511ce70c9539d01e83 /newlib/libc/syscalls/sysread.c
parent2dba9eb2d43613800191b8f1284aada2eed1476c (diff)
2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/syscalls/sysclose.c: Always call reentrant version of the underlying syscall since one is guaranteed to exist in libc/reent. * libc/syscalls/sysexecve.c: Ditto. * libc/syscalls/sysfcntl.c: Ditto. * libc/syscalls/sysfork.c: Ditto. * libc/syscalls/sysfstat.c: Ditto. * libc/syscalls/sysgetpid.c: Ditto. * libc/syscalls/sysgettod.c: Ditto. * libc/syscalls/syskill.c: Ditto. * libc/syscalls/syslink.c: Ditto. * libc/syscalls/syslseek.c: Ditto. * libc/syscalls/sysopen.c: Ditto. * libc/syscalls/sysread.c: Ditto. * libc/syscalls/syssbrk.c: Ditto. * libc/syscalls/sysstat.c: Ditto. * libc/syscalls/systimes.c: Ditto. * libc/syscalls/sysunlink.c: Ditto. * libc/syscalls/syswait.c: Ditto. * libc/syscalls/syswrite.c: Ditto.
Diffstat (limited to 'newlib/libc/syscalls/sysread.c')
-rw-r--r--newlib/libc/syscalls/sysread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/newlib/libc/syscalls/sysread.c b/newlib/libc/syscalls/sysread.c
index ae19f5b46..bcf002d9d 100644
--- a/newlib/libc/syscalls/sysread.c
+++ b/newlib/libc/syscalls/sysread.c
@@ -9,9 +9,5 @@ _DEFUN (read, (fd, buf, cnt),
void *buf _AND
size_t cnt)
{
-#ifdef REENTRANT_SYSCALLS_PROVIDED
return _read_r (_REENT, fd, buf, cnt);
-#else
- return _read (fd, buf, cnt);
-#endif
}