* syscalls.cc (NT_TRANSACTIONAL_ERROR): Cover all status codes up to

STATUS_TRANSACTION_NOT_ENLISTED.
This commit is contained in:
Corinna Vinschen 2014-04-25 14:43:13 +00:00
parent 8e22028339
commit e1c519b41f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-04-25 Corinna Vinschen <corinna@vinschen.de>
* syscalls.cc (NT_TRANSACTIONAL_ERROR): Cover all status codes up to
STATUS_TRANSACTION_NOT_ENLISTED.
2014-04-24 Corinna Vinschen <corinna@vinschen.de>
* fhandler_socket.cc: On x86_64, define u_long as __ms_u_long before

View File

@ -187,7 +187,7 @@ dup3 (int oldfd, int newfd, int flags)
/* Define macro to simplify checking for a transactional error code. */
#define NT_TRANSACTIONAL_ERROR(s) \
(((ULONG)(s) >= (ULONG)STATUS_TRANSACTIONAL_CONFLICT) \
&& ((ULONG)(s) <= (ULONG)STATUS_LOG_GROWTH_FAILED))
&& ((ULONG)(s) <= (ULONG)STATUS_TRANSACTION_NOT_ENLISTED))
static inline void
start_transaction (HANDLE &old_trans, HANDLE &trans)