src/winsup/cygwin ChangeLog mmap.cc

corinna@sourceware.cygnus.com corinna@sourceware.cygnus.com
Mon Apr 16 10:26:00 GMT 2001


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sources.redhat.com	2001-04-16 10:26:04

Modified files:
	winsup/cygwin  : ChangeLog mmap.cc 

Log message:
	* mmap.cc: Move fh_paging_file from some functions to be
	a global static variable.
	(class mmap_record): Add `devtype_' member to remember
	the device type of the file. Add declaration for methods
	`get_device', `alloc_fh' and `free_fh'.
	(mmap_record::mmap_record): Initialize `devtype_' correctly.
	(mmap_record::alloc_fh): New method.
	(mmap_record::free_fh): Ditto.
	(munmap): Use new mmap_record::alloc_fh and mmap_record::free_fh
	methods to create a correct fhandler.
	(msync): Ditto.
	(fixup_mmaps_after_fork): Ditto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.635&r2=1.636
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/mmap.cc.diff?cvsroot=src&r1=1.29&r2=1.30



More information about the Cygwin-cvs mailing list