revert unfinished change (listed in mksh.hts)

This commit is contained in:
tg 2014-01-05 19:20:31 +00:00
parent d8b65ff642
commit 2f6fa6fb3d

View File

@ -38,7 +38,7 @@
#endif #endif
#endif #endif
__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.253 2014/01/05 19:11:44 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.254 2014/01/05 19:20:31 tg Exp $");
#if HAVE_KILLPG #if HAVE_KILLPG
/* /*
@ -3250,7 +3250,6 @@ test_primary(Test_env *te, bool do_eval)
* so that something like test \( -f = -f \) is accepted * so that something like test \( -f = -f \) is accepted
*/ */
if ((te->flags & TEF_DBRACKET) || (&te->pos.wp[1] < te->wp_end && if ((te->flags & TEF_DBRACKET) || (&te->pos.wp[1] < te->wp_end &&
/*XXX TODO: !test_opin(b_ops_xsi, … */
!test_isop(TM_BINOP, te->pos.wp[1]))) { !test_isop(TM_BINOP, te->pos.wp[1]))) {
if ((op = (*te->isa)(te, TM_UNOP))) { if ((op = (*te->isa)(te, TM_UNOP))) {
/* unary expression */ /* unary expression */