On 12/02/2011 04:33 AM, Enlightenment SVN wrote:
> Log:
> more trivial fixes from Joerg Sonnenberger<jo...@britannica.bec.de>

This must be rubbish. isspace() takes int as argument, not unsigned char

S.

>
>
> Author:       discomfitor
> Date:         2011-12-01 19:33:19 -0800 (Thu, 01 Dec 2011)
> New Revision: 65799
> Trac:         http://trac.enlightenment.org/e/changeset/65799
>
> Modified:
>    trunk/ecore/src/lib/ecore/ecore_getopt.c 
> trunk/ecore/src/lib/ecore_file/ecore_file.c
>
> Modified: trunk/ecore/src/lib/ecore/ecore_getopt.c
> ===================================================================
> --- trunk/ecore/src/lib/ecore/ecore_getopt.c  2011-12-02 03:27:04 UTC (rev 
> 65798)
> +++ trunk/ecore/src/lib/ecore/ecore_getopt.c  2011-12-02 03:33:19 UTC (rev 
> 65799)
> @@ -130,7 +130,7 @@
>                   todo = len;
>
>                 for (i = 0; i<  todo; i++)
> -                if (isspace(text[i]))
> +                if (isspace((unsigned char)text[i]))
>                     {
>                        space = text + i;
>                        break;
>
> Modified: trunk/ecore/src/lib/ecore_file/ecore_file.c
> ===================================================================
> --- trunk/ecore/src/lib/ecore_file/ecore_file.c       2011-12-02 03:27:04 UTC 
> (rev 65798)
> +++ trunk/ecore/src/lib/ecore_file/ecore_file.c       2011-12-02 03:33:19 UTC 
> (rev 65799)
> @@ -859,7 +859,7 @@
>
>      p = (char *)app;
>   restart:
> -   while ((*p)&&  (isspace(*p))) p++;
> +   while ((*p)&&  (isspace((unsigned char)*p))) p++;
>      exe1 = p;
>      while (*p)
>        {
> @@ -879,7 +879,7 @@
>                  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 @@
>                  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-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn


------------------------------------------------------------------------------
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