Author: cwittich
Date: Wed Apr 15 11:23:37 2009
New Revision: 40515

URL: http://svn.reactos.org/svn/reactos?rev=40515&view=rev
Log:
try to fix the sysreg hangs

Modified:
    trunk/tools/sysreg2/console.c

Modified: trunk/tools/sysreg2/console.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/tools/sysreg2/console.c?rev=40515&r1=40514&r2=40515&view=diff
==============================================================================
--- trunk/tools/sysreg2/console.c [iso-8859-1] (original)
+++ trunk/tools/sysreg2/console.c [iso-8859-1] Wed Apr 15 11:23:37 2009
@@ -98,6 +98,13 @@
                     if (*bp == '\33')
                         goto cleanup;
                 }
+                else
+                {
+                    /* KDBG doesn't send a newline */
+                    if ((strstr(buf, "kdb:>")) || 
+                        (strstr(buf, "--- Press q")))
+                        break;
+                }
                 
                 ++bp;
             }

Reply via email to