eek, mira, don’t leave debugging code lying around
This commit is contained in:
parent
986d999e58
commit
4748739523
6
edit.c
6
edit.c
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include "sh.h"
|
#include "sh.h"
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.224 2011/12/11 18:01:03 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.225 2011/12/11 18:07:45 tg Exp $");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* in later versions we might use libtermcap for this, but since external
|
* in later versions we might use libtermcap for this, but since external
|
||||||
@ -1777,10 +1777,6 @@ x_load_hist(char **hp)
|
|||||||
static int
|
static int
|
||||||
x_nl_next_com(int c MKSH_A_UNUSED)
|
x_nl_next_com(int c MKSH_A_UNUSED)
|
||||||
{
|
{
|
||||||
/*shellf( "x_histncp = %08X\n"
|
|
||||||
"x_histp = %08X\n"
|
|
||||||
"histptr+1 = %08X\n", (uint32_t)x_histncp,
|
|
||||||
(uint32_t)x_histp, (uint32_t)(histptr + 1));*/
|
|
||||||
if (!x_histncp || (x_histp != x_histncp && x_histp != histptr + 1))
|
if (!x_histncp || (x_histp != x_histncp && x_histp != histptr + 1))
|
||||||
/* fresh start of ^O */
|
/* fresh start of ^O */
|
||||||
x_histncp = x_histp;
|
x_histncp = x_histp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user