* mmap.cc (mmap64): Handle MAP_AUTOGROW flag.

(fhandler_disk_file::mmap): Ditto. Clean conditional for readability.
	* include/sys/mman.h: Add MAP_AUTOGROW flag.
	* include/cygwin/version.h: Bump API minor version.
This commit is contained in:
Corinna Vinschen
2005-03-08 09:18:47 +00:00
parent 18edcecfbf
commit d2428633a6
4 changed files with 71 additions and 11 deletions

View File

@ -250,12 +250,13 @@ details. */
120: Export basename, dirname.
122: Export statvfs, fstatvfs.
123: Export utmpxname.
124: Add MAP_AUTOGROW flag to mmap.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 123
#define CYGWIN_VERSION_API_MINOR 124
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible