diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-12-11 12:12:12 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-12-11 12:12:12 +0000 |
commit | f51db32d8c8e45123a9465f1a49dd0b7fa036938 (patch) | |
tree | c980436bcbef8b8c661dd26d21d6ebadd38c2229 /winsup/cygwin/release | |
parent | c28222be548ae910df8eadfc25b29e6aac6d982a (diff) | |
download | cygnal-f51db32d8c8e45123a9465f1a49dd0b7fa036938.tar.gz cygnal-f51db32d8c8e45123a9465f1a49dd0b7fa036938.tar.bz2 cygnal-f51db32d8c8e45123a9465f1a49dd0b7fa036938.zip |
* syscalls.cc (NT_TRANSACTIONAL_ERROR): Define.
(stop_transaction): Take "trans" HANDLE by reference and set it to
NULL after closing it.
(unlink_nt): If NtOpenFile fails due to a transactional error, stop
transaction and retry NtOpenFile. Simplify check for having to call
stop_transaction.
(rename): If NtOpenFile fails due to a transactional error, stop
transaction and retry NtOpenFile in both affected cases. Simplify check
for having to call stop_transaction and add comment from unlink_nt.
Diffstat (limited to 'winsup/cygwin/release')
-rw-r--r-- | winsup/cygwin/release/1.7.28 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/release/1.7.28 b/winsup/cygwin/release/1.7.28 index 77691718f..1bc1c01f7 100644 --- a/winsup/cygwin/release/1.7.28 +++ b/winsup/cygwin/release/1.7.28 @@ -8,3 +8,8 @@ Bug Fixes - Signals should no longer hang when they occur within a low-level Windows DLL. Fixes: http://cygwin.com/ml/cygwin/2013-12/threads.html#00151 + +- If it turns out that transactions don't work during unlink(2) or rename(2), + despite the fact that the filesystem claims to handle them, stop transaction + and try again without. + Fixes: http://cygwin.com/ml/cygwin/2013-12/msg00119.html |