commit bash-20040902 snapshot

This commit is contained in:
Chet Ramey committed 2011-12-03 13:35:53 -05:00
1 parent be7d8f2da4
commit 37c41ab12b
42 files changed
+22871 -17142

No files matched your search

+2 -1
View File
@@ -40,7 +40,8 @@ extern char *xstrchr __P((const char *, int));
#define MB_NULLWCH(x) ((x) == 0)
#endif
#define MB_STRLEN(s) ((MB_CUR_MAX > 1) ? mbstrlen (s) : STRLEN (s))
#define MBSLEN(s) (((s) && (s)[0]) ? ((s)[1] ? mbstrlen (s) : 1) : 0)
#define MB_STRLEN(s) ((MB_CUR_MAX > 1) ? MBSLEN (s) : STRLEN (s))
#else /* !HANDLE_MULTIBYTE */