On Mon, Nov 28, 2011 at 09:54:18PM +0900, Carsten Haitzler wrote:
> http://download.enlightenment.org/releases/ecore-1.1.0-beta.tar.gz
> http://download.enlightenment.org/releases/ecore-1.1.0-beta.tar.bz2

First patch comments out a bunch of seemingly unused static functions.
Second and third patch fix the usage of ctype.h.

Joerg
--- src/lib/ecore_con/ecore_con_ssl.c.orig	2011-11-18 04:54:52.000000000 +0000
+++ src/lib/ecore_con/ecore_con_ssl.c
@@ -1678,11 +1678,13 @@ _ecore_con_ssl_server_prepare_none(Ecore
    return ECORE_CON_SSL_ERROR_NONE;
 }
 
+#if 0
 static Ecore_Con_Ssl_Error
 _ecore_con_ssl_server_upgrade_none(Ecore_Con_Server *svr __UNUSED__)
 {
    return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
 }
+#endif
 
 static Ecore_Con_Ssl_Error
 _ecore_con_ssl_server_init_none(Ecore_Con_Server *svr __UNUSED__)
@@ -1740,11 +1742,13 @@ _ecore_con_ssl_server_write_none(Ecore_C
    return -1;
 }
 
+#if 0
 static Ecore_Con_Ssl_Error
 _ecore_con_ssl_client_upgrade_none(Ecore_Con_Client *cl __UNUSED__)
 {
    return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
 }
+#endif
 
 static Ecore_Con_Ssl_Error
 _ecore_con_ssl_client_init_none(Ecore_Con_Client *cl __UNUSED__)
--- src/lib/ecore/ecore_getopt.c.orig	2011-12-01 19:26:56.000000000 +0000
+++ src/lib/ecore/ecore_getopt.c
@@ -130,7 +130,7 @@ _ecore_getopt_help_line(FILE       *fp,
                 todo = len;
 
               for (i = 0; i < todo; i++)
-                if (isspace(text[i]))
+                if (isspace((unsigned char)text[i]))
                   {
                      space = text + i;
                      break;
--- src/lib/ecore_file/ecore_file.c.orig	2011-12-01 19:23:31.000000000 +0000
+++ src/lib/ecore_file/ecore_file.c
@@ -859,7 +859,7 @@ ecore_file_app_exe_get(const char *app)
 
    p = (char *)app;
 restart:
-   while ((*p) && (isspace(*p))) p++;
+   while ((*p) && (isspace((unsigned char)*p))) p++;
    exe1 = p;
    while (*p)
      {
@@ -879,7 +879,7 @@ restart:
                in_quot_sing = 1;
              else if (*p == '\"')
                in_quot_dbl = 1;
-             if ((isspace(*p)) && (!((p > app) && (p[-1] != '\\'))))
+             if ((isspace((unsigned char)*p)) && ((p <= app) || (p[-1] == '\\')))
                break;
           }
         p++;
@@ -974,7 +974,7 @@ restart:
                in_quot_sing = 1;
              else if (*p == '\"')
                in_quot_dbl = 1;
-             else if (isspace(*p))
+             else if (isspace((unsigned char)*p))
                {
                   if (restart)
                     goto restart;
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to