mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/lib/posix_wrap/stdlib.h (MB_CUR_MAX): Moved from here ...
* grub-core/lib/posix_wrap/wchar.h (MB_CUR_MAX): ... here. Value fixed.
This commit is contained in:
1 parent
8ee1101a97
commit
b4bf7c3b20
3 files changed
+9
-4
No files matched your search
@@ -1,3 +1,8 @@
|
|||||||
|
2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/lib/posix_wrap/stdlib.h (MB_CUR_MAX): Moved from here ...
|
||||||
|
* grub-core/lib/posix_wrap/wchar.h (MB_CUR_MAX): ... here. Value fixed.
|
||||||
|
|
||||||
2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-01-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/fshelp.c (grub_fshelp_find_file): Use grub_strcasecmp
|
* grub-core/fs/fshelp.c (grub_fshelp_find_file): Use grub_strcasecmp
|
||||||
|
|||||||
@@ -52,6 +52,4 @@ abort (void)
|
|||||||
grub_abort ();
|
grub_abort ();
|
||||||
}
|
}
|
||||||
|
|
||||||
#define MB_CUR_MAX 6
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@@ -28,8 +28,6 @@ enum
|
|||||||
WEOF = -1
|
WEOF = -1
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MB_LEN_MAX 4
|
|
||||||
|
|
||||||
/* UCS-4. */
|
/* UCS-4. */
|
||||||
typedef grub_int32_t wchar_t;
|
typedef grub_int32_t wchar_t;
|
||||||
|
|
||||||
@@ -38,6 +36,10 @@ typedef struct mbstate {
|
|||||||
int count;
|
int count;
|
||||||
} mbstate_t;
|
} mbstate_t;
|
||||||
|
|
||||||
|
/* UTF-8. */
|
||||||
|
#define MB_CUR_MAX 4
|
||||||
|
#define MB_LEN_MAX 4
|
||||||
|
|
||||||
static inline size_t
|
static inline size_t
|
||||||
mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
|
mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user