forked from enlightenment/efl
Put a FIXME where someone doesn't understand alloca.
SVN revision: 49989
This commit is contained in:
parent
b304ae1642
commit
59bbcfbb8a
|
@ -40,6 +40,7 @@ evas_intl_utf8_to_visual(const char *text,
|
|||
byte_len = strlen(text); /* we need the actual number of bytes, not number of chars */
|
||||
|
||||
unicode_in = (FriBidiChar *)alloca(sizeof(FriBidiChar) * (len + 1));
|
||||
/* FIXME: Alloca never fails */
|
||||
if (!unicode_in)
|
||||
{
|
||||
len = -1;
|
||||
|
@ -52,6 +53,7 @@ evas_intl_utf8_to_visual(const char *text,
|
|||
unicode_in[len] = 0;
|
||||
|
||||
unicode_out = (FriBidiChar *)alloca(sizeof(FriBidiChar) * (len + 1));
|
||||
/* FIXME: Alloca never fails */
|
||||
if (!unicode_out)
|
||||
{
|
||||
len = -1;
|
||||
|
|
Loading…
Reference in New Issue