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 Jan 2007 17:15:59 -0000
- Subject: src/winsup/cygwin ChangeLog mmap.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2007-01-18 17:15:59
Modified files:
winsup/cygwin : ChangeLog mmap.cc
Log message:
* mmap.cc (list::hash): Fix type to __ino64_t.
(list::get_hash): Ditto.
(list::set): Add struct stat parameter. Use that instead of calling
fstat.
(map::get_list_by_fd): Ditto.
(map::add_list): Ditto.
(mmap_is_attached_or_noreserve): Call get_list_by_fd appropriately.
(mmap_worker): Add pameters for map list and file stat information.
Propagate to called functions.
(mmap64): Use fstat on files early. Replace call to GetFileSize.
Call get_list_by_fd and mmap_worker appropriately.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3725&r2=1.3726
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mmap.cc.diff?cvsroot=src&r1=1.137&r2=1.138