[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bochs-cvs
Subject:    [Bochs-cvs] CVS: bochs logio.cc,1.51,1.52
From:       Volker Ruppert <vruppert () users ! sourceforge ! net>
Date:       2006-01-31 19:37:58
Message-ID: E1F41KA-0003Bi-QP () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]

Update of /cvsroot/bochs/bochs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12085

Modified Files:
	logio.cc 
Log Message:
- siminterface now uses the new value BX_LOG_NOTIFY_FAILED in case of failure
  (no notify handler registered). The ask() function doesn't set the variable
  bx_user_quit to 1 in that case. This prevents win32 from closing the console
  window immediately in case of a bochsrc error.


Index: logio.cc
===================================================================
RCS file: /cvsroot/bochs/bochs/logio.cc,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- logio.cc	18 Jan 2006 18:35:37 -0000	1.51
+++ logio.cc	31 Jan 2006 19:37:56 -0000	1.52
@@ -469,7 +469,8 @@
       setonoff (level, ACT_REPORT);
       break;
     case BX_LOG_ASK_CHOICE_DIE:
-      bx_user_quit = 1;
+    case BX_LOG_NOTIFY_FAILED:
+      bx_user_quit = (val==BX_LOG_ASK_CHOICE_DIE)?1:0;
       in_ask_already = 0;  // because fatal will longjmp out
       fatal (prefix, fmt, ap, 1);
       // should never get here



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bochs-cvs mailing list
Bochs-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bochs-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic