summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/rename.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-09-18 15:59:50 +0000
committerCorinna Vinschen <corinna@vinschen.de>2007-09-18 15:59:50 +0000
commit4090f565a839d8e846cf9c6249a5ebbfd8ad9790 (patch)
treeab050a5c077b3d3415d24e0008f43126bab4a96c /newlib/libc/stdio/rename.c
parentd81b646dc3d3f80f6247945f2bdf54381f8ac808 (diff)
downloadcygnal-4090f565a839d8e846cf9c6249a5ebbfd8ad9790.tar.gz
cygnal-4090f565a839d8e846cf9c6249a5ebbfd8ad9790.tar.bz2
cygnal-4090f565a839d8e846cf9c6249a5ebbfd8ad9790.zip
* mmap.cc (fh_disk_file): Delete as global static variable and...
(mmap64): ...define as local pointer to make mmap thread-safe. Accommodate throughout. Only initialize fh_disk_file after file could be opened with GENERIC_EXECUTE access. Call fstat_by_handle instead of fstat to avoid overhead.
Diffstat (limited to 'newlib/libc/stdio/rename.c')
0 files changed, 0 insertions, 0 deletions