From 2bfad02a94ca607d918ea871147680dbeff0999c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 20 Sep 2006 09:22:34 +0000 Subject: 22742: parameter padding uses string lengths unless (m) flag set 22743: restrict sh "- [args]" -> "-xv [-- args]" hack to sh mode --- Src/zsh.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/zsh.h') diff --git a/Src/zsh.h b/Src/zsh.h index ce6cf989a..9a76bf9a5 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -2008,6 +2008,7 @@ typedef wint_t convchar_t; #define MB_METACHARLEN(str) mb_metacharlenconv(str, NULL) #define MB_METASTRLEN(str) mb_metastrlen(str, 0) #define MB_METASTRWIDTH(str) mb_metastrlen(str, 1) +#define MB_METASTRLEN2(str, widthp) mb_metastrlen(str, widthp) /* * Note WCWIDTH() takes wint_t, typically as a convchar_t. @@ -2041,6 +2042,7 @@ typedef int convchar_t; #define MB_METACHARLEN(str) (*(str) == Meta ? 2 : 1) #define MB_METASTRLEN(str) ztrlen(str) #define MB_METASTRWIDTH(str) ztrlen(str) +#define MB_METASTRLEN2(str, widthp) ztrlen(str) #define WCWIDTH(c) (1) -- cgit 1.4.1