This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog mmap.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 18 Sep 2007 15:59:50 -0000
- Subject: src/winsup/cygwin ChangeLog mmap.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2007-09-18 15:59:50
Modified files:
winsup/cygwin : ChangeLog mmap.cc
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3930&r2=1.3931
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mmap.cc.diff?cvsroot=src&r1=1.146&r2=1.147