50558bf3bd
* 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. |
||
---|---|---|
.. | ||
Makefile.am | ||
Makefile.in | ||
closer.c | ||
execr.c | ||
fcntlr.c | ||
fstat64r.c | ||
fstatr.c | ||
getreent.c | ||
impure.c | ||
linkr.c | ||
lseek64r.c | ||
lseekr.c | ||
open64r.c | ||
openr.c | ||
readr.c | ||
reent.c | ||
reent.tex | ||
sbrkr.c | ||
signalr.c | ||
signgam.c | ||
statr.c | ||
timer.c | ||
unlinkr.c | ||
writer.c |