Merge "Fix the printf family for non-ASCII."

This commit is contained in:
Elliott Hughes
2014-06-06 18:06:44 +00:00
committed by Gerrit Code Review
4 changed files with 50 additions and 2 deletions

View File

@@ -112,7 +112,7 @@
#define SSIZE_MAX LONG_MAX
#define MB_LEN_MAX 6
#define MB_LEN_MAX 4
/* New code should use sysconf(_SC_PAGE_SIZE) instead. */
#ifndef PAGE_SIZE

View File

@@ -167,7 +167,7 @@ extern int mbtowc(wchar_t *, const char *, size_t);
extern int wctomb(char *, wchar_t);
extern size_t wcstombs(char *, const wchar_t *, size_t);
#define MB_CUR_MAX 1
#define MB_CUR_MAX 4U
#if 0 /* MISSING FROM BIONIC */
extern int on_exit(void (*)(int, void *), void *);