Put a FIXME where someone doesn't understand alloca.
authornash <nash@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 2 Jul 2010 06:53:41 +0000 (06:53 +0000)
committernash <nash@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 2 Jul 2010 06:53:41 +0000 (06:53 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@49989 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_intl_utils.c

index b0ef1e0..acbff93 100644 (file)
@@ -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;