4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-03-05 06:25:48 +08:00
Corinna Vinschen a24ad2c346 * autoload.cc (CancelSynchronousIo): Define.
* fcntl.cc (fcntl64): Drop handling of locking commands.
	* fhandler.h (class fhandler_disk_file): Add mandatory_locking.
	(fhandler_disk_file::fcntl): Declare.
	(fhandler_disk_file::mand_lock): Declare.
	* fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file):
	Initialize mandatory_locking.
	(fhandler_disk_file::fcntl): New method.  Handle F_LCK_MANDATORY and
	locking commands.
	(fhandler_disk_file::dup): Duplicate mandatory_locking.  Fix a bug
	when duplicating prw_handle failed.
	(fhandler_disk_file::fixup_after_fork): Reset mandatory_locking.
	* flock.cc (fhandler_disk_file::lock): Add comment.
	(struct lock_parms): New struct to pass parameters to blocking_lock_thr
	thread function.
	(blocking_lock_thr): New thread function.
	(fhandler_disk_file::mand_lock): New methof implementing mandatory
	locking with Windows semantics.
	* ntdll.h (NtLockFile): Declare.
	(NtUnlockFile): Declare.
	* include/fcntl.h: Fix a comment.
	(F_LCK_MANDATORY): Define.  Add lengthy comment to explain.
2013-06-02 10:22:14 +00:00

43 lines
1.5 KiB
Plaintext

What's new:
-----------
- Drop support for Windows 2000 and Windows XP pre-SP3.
- Add support for building a 64 bit version of Cygwin on x86_64 natively.
- Add support for creating native symlinks (CYGWIN=winsymlinks:native or
CYGWIN=winsymlinks:nativestrict).
- Add support for the AFS filesystem.
- Preliminary support for mandatory locking via fcntl, using Windows
locking semantics. New F_LCK_MANDATORY fcntl command.
- New APIs: __b64_ntop, __b64_pton, arc4random, arc4random_addrandom,
arc4random_buf, arc4random_stir, arc4random_uniform.
Bug fixes:
----------
- getgrouplist now always creates a group list, even if it's empty.
Fixes: http://cygwin.com/ml/cygwin/2013-05/msg00157.html
- In fork, call CreateProcessW with the same command line as the parent
process. This seems to make sure the stack is created in the same
memory location as in the parent.
Fixes: http://cygwin.com/ml/cygwin/2013-05/msg00340.html
- Fix a build problem resulting in Cygwin functions picking up the wrong
new/delete.
Fixes: http://cygwin.com/ml/cygwin/2013-05/msg00331.html
- Fix an incorrect condition which breaks fork after all dlopen'ed DLLs
have already been dlclose'd.
Fixes: http://cygwin.com/ml/cygwin/2013-05/msg00376.html
- Fix buggy usage of NtReadFile when reading from device under /proc/sys.
Fixes: http://cygwin.com/ml/cygwin/2013-05/msg00392.html
- Fix an include in <cygwin/if.h> to avoid circular dependency.
Fixes: http://cygwin.com/ml/cygwin/2013-05/msg00451.html