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/sysfcntl.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/sysfcntl.c')
-rw-r--r--newlib/libc/syscalls/sysfcntl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/newlib/libc/syscalls/sysfcntl.c b/newlib/libc/syscalls/sysfcntl.c
index 5e6de7e77..12d09a8af 100644
--- a/newlib/libc/syscalls/sysfcntl.c
+++ b/newlib/libc/syscalls/sysfcntl.c
@@ -11,11 +11,7 @@ _DEFUN (fcntl, (fd, flag, arg),
int arg)
{
#ifdef HAVE_FCNTL
-# ifdef REENTRANT_SYSCALLS_PROVIDED
return _fcntl_r (_REENT, fd, flag, arg);
-# else
- return _fcntl (fd, flag, arg);
-# endif
#else /* !HAVE_FCNTL */
errno = ENOSYS;
return -1;