src/winsup/cygwin ChangeLog mmap.cc

corinna@cygwin.com corinna@cygwin.com
Tue Sep 18 15:59:00 GMT 2007


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



More information about the Cygwin-cvs mailing list