diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index d50936b6e..5217a8510 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2014-04-25 Corinna Vinschen + + * syscalls.cc (NT_TRANSACTIONAL_ERROR): Cover all status codes up to + STATUS_TRANSACTION_NOT_ENLISTED. + 2014-04-24 Corinna Vinschen * fhandler_socket.cc: On x86_64, define u_long as __ms_u_long before diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 9d7212def..3a8fabf6d 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -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)