OSDN Git Service

2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
authorjjohnstn <jjohnstn>
Thu, 19 Sep 2002 21:28:50 +0000 (21:28 +0000)
committerjjohnstn <jjohnstn>
Thu, 19 Sep 2002 21:28:50 +0000 (21:28 +0000)
commitef024cd7c4725f4aa9c2b38f3f61e43c05b947cf
treed444600a45f2ecc8727fbb4ea228711097f0eba0
parentee2c3ab754beb08cf2fcfde608bdb9507ba802b2
2002-09-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/posix/opendir.c (opendir): Change code to check
        for HAVE_FCNTL before calling fcntl.
        * libc/search/hash.c (hash_open): Ditto.
        * libc/search/hash_page.c (open_tmp): Ditto.
        * libc/reent/Makefile.am: Add fcntlr.c.
        * libc/reent/Makefile.in: Regenerated.
        * libc/reent/fcntlr.c: New file.
        * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
        instead of _fcntl when HAVE_FCNTL flag is set.
        * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
        to see if _fcntl or _fcntl_r should be called.  If flag is not
        set, default to ENOSYS stub.
newlib/ChangeLog
newlib/libc/posix/opendir.c
newlib/libc/reent/Makefile.am
newlib/libc/reent/Makefile.in
newlib/libc/reent/fcntlr.c [new file with mode: 0644]
newlib/libc/search/hash.c
newlib/libc/search/hash_page.c
newlib/libc/stdio/fdopen.c
newlib/libc/syscalls/sysfcntl.c