summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-12-11 12:12:12 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-12-11 12:12:12 +0000
commitf51db32d8c8e45123a9465f1a49dd0b7fa036938 (patch)
treec980436bcbef8b8c661dd26d21d6ebadd38c2229 /winsup/cygwin/autoload.cc
parentc28222be548ae910df8eadfc25b29e6aac6d982a (diff)
downloadcygnal-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