This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]