This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] Cygwin: drop debug_printf statement from start_transaction
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 5 Mar 2018 17:00:38 -0000
- Subject: [newlib-cygwin] Cygwin: drop debug_printf statement from start_transaction
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=fe8e2c9b1f480c5b939574510b3ed10ea3c9028d
commit fe8e2c9b1f480c5b939574510b3ed10ea3c9028d
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Mon Mar 5 17:50:52 2018 +0100
Cygwin: drop debug_printf statement from start_transaction
start_transaction is now defined in ntdll.h and we can't rely
on debug_printf being available
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/ntdll.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h
index c89591f..b322d4b 100644
--- a/winsup/cygwin/ntdll.h
+++ b/winsup/cygwin/ntdll.h
@@ -1668,10 +1668,7 @@ extern "C"
RtlSetCurrentTransaction (trans);
}
else
- {
- debug_printf ("NtCreateTransaction failed, %y", status);
- old_trans = trans = NULL;
- }
+ old_trans = trans = NULL;
}
static inline NTSTATUS