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 | ||
closedir.c | ||
creat.c | ||
execl.c | ||
execle.c | ||
execlp.c | ||
execv.c | ||
execve.c | ||
execvp.c | ||
isatty.c | ||
opendir.c | ||
popen.c | ||
readdir.c | ||
readdir_r.c | ||
rewinddir.c | ||
scandir.c | ||
seekdir.c | ||
telldir.c |