Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/embryo

Dir     : e17/libs/embryo/src/bin


Modified Files:
        embryo_cc_sc6.c embryo_cc_sclinux.h 


Log Message:
fuck windows-isms
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/embryo/src/bin/embryo_cc_sc6.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- embryo_cc_sc6.c     13 Apr 2005 19:37:01 -0000      1.7
+++ embryo_cc_sc6.c     13 Apr 2005 19:45:19 -0000      1.8
@@ -18,7 +18,7 @@
  *      misrepresented as being the original software.
  *  3.  This notice may not be removed or altered from any source distribution.
  *
- *  Version: $Id: embryo_cc_sc6.c,v 1.7 2005/04/13 19:37:01 tsauerbeck Exp $
+ *  Version: $Id: embryo_cc_sc6.c,v 1.8 2005/04/13 19:45:19 tsauerbeck Exp $
  */
 #include <assert.h>
 #include <stdio.h>
@@ -616,7 +616,7 @@
      {
        mid = (low + high) / 2;
        assert(opcodelist[mid].name != NULL);
-       cmp = stricmp(str, opcodelist[mid].name);
+       cmp = strcasecmp(str, opcodelist[mid].name);
        if (cmp > 0)
           low = mid + 1;
        else
@@ -624,7 +624,7 @@
      }                         /* while */
 
    assert(low == high);
-   if (stricmp(str, opcodelist[low].name) == 0)
+   if (strcasecmp(str, opcodelist[low].name) == 0)
       return low;              /* found */
    return 0;                   /* not found, return special index */
 }
@@ -658,7 +658,7 @@
    for (i = 2; i < (sizeof opcodelist / sizeof opcodelist[0]); i++)
      {
        assert(opcodelist[i].name != NULL);
-       assert(stricmp(opcodelist[i].name, opcodelist[i - 1].name) > 0);
+       assert(strcasecmp(opcodelist[i].name, opcodelist[i - 1].name) > 0);
      }                         /* for */
 #endif
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/embryo/src/bin/embryo_cc_sclinux.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- embryo_cc_sclinux.h 20 Apr 2004 03:50:11 -0000      1.3
+++ embryo_cc_sclinux.h 13 Apr 2005 19:45:19 -0000      1.4
@@ -14,10 +14,6 @@
 # define BYTE_ORDER LITTLE_ENDIAN
 #endif
 
-#define getch           getchar
-#define        stricmp(a,b)    strcasecmp(a,b)
-#define        strnicmp(a,b,c) strncasecmp(a,b,c)
-
 /* unix sep char- shoudl just assume this. */
 #define        DIRECTORY_SEP_CHAR      '/'
 #define        DIRECTORY_SEP_STR       "/"




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to