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/autoload.cc | |
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/autoload.cc')
0 files changed, 0 insertions, 0 deletions