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>2014-04-25 18:43:13 +0400
committerCorinna Vinschen <corinna@vinschen.de>2014-04-25 18:43:13 +0400
commite1c519b41ff08e9cffd1a687c4225566c6cc250b (patch)
tree156f72509ec0be4652030194762ace1287b18493 /winsup/cygwin/syscalls.cc
parent8e220283396b4720c181695bf4046ad26e84a712 (diff)
* syscalls.cc (NT_TRANSACTIONAL_ERROR): Cover all status codes up to
STATUS_TRANSACTION_NOT_ENLISTED.
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc2
1 files changed, 1 insertions, 1 deletions
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)