The check for empty patterns and patterns matching the empty string
in commitid 1004D8283F068C41C3C was bogus; it fixed Jb_boin’s issue but izabers’s 「var=foo; echo "${var/*/x}"」 was broken; in fact we only want to not do the looping for // if the pattern matches much. Also, fix a spelling mistake in the manpage and change some wording to also work with associative arrays (in the future; no change).
This commit is contained in:
4
sh.h
4
sh.h
@@ -169,9 +169,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef EXTERN
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.729 2015/04/29 20:44:37 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.730 2015/05/23 17:43:22 tg Exp $");
|
||||
#endif
|
||||
#define MKSH_VERSION "R51 2015/04/29"
|
||||
#define MKSH_VERSION "R51 2015/05/23"
|
||||
|
||||
/* arithmetic types: C implementation */
|
||||
#if !HAVE_CAN_INTTYPES
|
||||
|
Reference in New Issue
Block a user