Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-12-11 16:12:12 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-12-11 16:12:12 +0400
commitf51db32d8c8e45123a9465f1a49dd0b7fa036938 (patch)
treec980436bcbef8b8c661dd26d21d6ebadd38c2229 /winsup/cygwin/release
parentc28222be548ae910df8eadfc25b29e6aac6d982a (diff)
* 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.285
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