diff --git a/funcs.c b/funcs.c index e23ec8b..d2b3728 100644 --- a/funcs.c +++ b/funcs.c @@ -1,5 +1,5 @@ /* $OpenBSD: c_ksh.c,v 1.33 2009/02/07 14:03:24 kili Exp $ */ -/* $OpenBSD: c_sh.c,v 1.41 2010/03/27 09:10:01 jmc Exp $ */ +/* $OpenBSD: c_sh.c,v 1.42 2013/03/20 21:05:00 millert Exp $ */ /* $OpenBSD: c_test.c,v 1.18 2009/03/01 20:11:06 otto Exp $ */ /* $OpenBSD: c_ulimit.c,v 1.17 2008/03/21 12:51:19 millert Exp $ */ @@ -38,7 +38,7 @@ #endif #endif -__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.238 2013/02/18 22:47:32 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.239 2013/03/24 21:34:13 tg Exp $"); #if HAVE_KILLPG /* @@ -2253,7 +2253,7 @@ c_trap(const char **wp) wp += builtin_opt.optind; if (*wp == NULL) { - for (p = sigtraps, i = NSIG+1; --i >= 0; p++) + for (p = sigtraps, i = NSIG + 1; --i >= 0; p++) if (p->trap != NULL) { shf_puts("trap -- ", shl_stdout); print_value_quoted(shl_stdout, p->trap); diff --git a/mksh.1 b/mksh.1 index d73dd5c..a7d1c10 100644 --- a/mksh.1 +++ b/mksh.1 @@ -1,5 +1,5 @@ -.\" $MirOS: src/bin/mksh/mksh.1,v 1.307 2013/03/24 15:01:49 tg Exp $ -.\" $OpenBSD: ksh.1,v 1.145 2013/01/17 21:20:25 jmc Exp $ +.\" $MirOS: src/bin/mksh/mksh.1,v 1.308 2013/03/24 21:34:14 tg Exp $ +.\" $OpenBSD: ksh.1,v 1.146 2013/03/18 11:10:52 mpi Exp $ .\"- .\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, .\" 2010, 2011, 2012, 2013