diff --git a/check.t b/check.t index 5f81574..e9a6584 100644 --- a/check.t +++ b/check.t @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/check.t,v 1.484 2011/10/24 19:41:09 tg Exp $ +# $MirOS: src/bin/mksh/check.t,v 1.485 2011/10/26 20:46:13 tg Exp $ # $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $ @@ -25,7 +25,7 @@ # http://www.research.att.com/~gsf/public/ifs.sh expected-stdout: - @(#)MIRBSD KSH R40 2011/10/24 + @(#)MIRBSD KSH R40 2011/10/26 description: Check version of shell. stdin: diff --git a/misc.c b/misc.c index 550802e..e72418a 100644 --- a/misc.c +++ b/misc.c @@ -29,7 +29,7 @@ #include #endif -__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.176 2011/10/25 22:36:37 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.177 2011/10/26 20:46:15 tg Exp $"); /* type bits for unsigned char */ unsigned char chtypes[UCHAR_MAX + 1]; @@ -1038,7 +1038,7 @@ print_value_quoted(const char *s) /* first, check whether any quotes are needed */ while ((c = *p++) != 0) - if (c < 32 && c != '\n') + if (c < 32) break; else if (ctype(*p, C_QUOTE)) inquote = false; diff --git a/sh.h b/sh.h index 7b3cccf..391b28f 100644 --- a/sh.h +++ b/sh.h @@ -151,9 +151,9 @@ #endif #ifdef EXTERN -__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.498 2011/10/25 22:36:37 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.499 2011/10/26 20:46:16 tg Exp $"); #endif -#define MKSH_VERSION "R40 2011/10/24" +#define MKSH_VERSION "R40 2011/10/26" #ifndef MKSH_INCLUDES_ONLY