[newlib-cygwin] Cygwin: drop debug_printf statement from start_transaction

Corinna Vinschen corinna@sourceware.org
Mon Mar 5 17:00:00 GMT 2018


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



More information about the Cygwin-cvs mailing list