Revert "Debug printfs."
This reverts commit 9f82de59a0
.
Revert accidental push
This commit is contained in:
@ -309,8 +309,6 @@ fhandler_console::read (void *pv, size_t& buflen)
|
||||
int ch;
|
||||
set_input_state ();
|
||||
|
||||
debug_printf("requested buflen %d", buflen);
|
||||
|
||||
/* Check console read-ahead buffer filled from terminal requests */
|
||||
if (con.cons_rapoi && *con.cons_rapoi)
|
||||
{
|
||||
@ -320,7 +318,6 @@ fhandler_console::read (void *pv, size_t& buflen)
|
||||
}
|
||||
|
||||
int copied_chars = get_readahead_into_buffer (buf, buflen);
|
||||
debug_printf("copied_chars %d", copied_chars);
|
||||
|
||||
if (copied_chars)
|
||||
{
|
||||
@ -698,11 +695,9 @@ fhandler_console::read (void *pv, size_t& buflen)
|
||||
continue;
|
||||
}
|
||||
|
||||
debug_printf("toadd = %p, nread = %d", toadd, nread);
|
||||
if (toadd)
|
||||
{
|
||||
ssize_t bytes_read;
|
||||
line_edit_status res = line_edit (toadd, nread, ti, &bytes_read);
|
||||
line_edit_status res = line_edit (toadd, nread, ti);
|
||||
if (res == line_edit_signalled)
|
||||
goto sig_exit;
|
||||
else if (res == line_edit_input_done)
|
||||
@ -710,8 +705,6 @@ fhandler_console::read (void *pv, size_t& buflen)
|
||||
}
|
||||
}
|
||||
|
||||
debug_printf("ralen = %d, bytes = %d", ralen, ralen - raixget);
|
||||
|
||||
while (buflen)
|
||||
if ((ch = get_readahead ()) < 0)
|
||||
break;
|
||||
@ -723,7 +716,6 @@ fhandler_console::read (void *pv, size_t& buflen)
|
||||
#undef buf
|
||||
|
||||
buflen = copied_chars;
|
||||
debug_printf("buflen set to %d", buflen);
|
||||
return;
|
||||
|
||||
err:
|
||||
|
Reference in New Issue
Block a user