Enlightenment CVS committal Author : vapier Project : e16 Module : e
Dir : e16/e/src Modified Files: E.h ipc.c Log Message: do case insensitive searching with ipc window names =================================================================== RCS file: /cvs/e/e16/e/src/E.h,v retrieving revision 1.562 retrieving revision 1.563 diff -u -3 -r1.562 -r1.563 --- E.h 23 Aug 2006 21:04:53 -0000 1.562 +++ E.h 24 Aug 2006 21:32:28 -0000 1.563 @@ -99,6 +99,13 @@ #error "particular Operating System or Distribution" #endif +#ifndef HAVE_STRCASESTR +# define strcasestr(haystack, needle) strstr(haystack, needle) +#endif +#ifndef HAVE_STRCASECMP +# define strcasecmp(s1, s2) strcmp(s1, s2) +#endif + #define FILEPATH_LEN_MAX 4096 #ifndef MAX =================================================================== RCS file: /cvs/e/e16/e/src/ipc.c,v retrieving revision 1.274 retrieving revision 1.275 diff -u -3 -r1.274 -r1.275 --- ipc.c 12 Aug 2006 19:44:49 -0000 1.274 +++ ipc.c 24 Aug 2006 21:32:28 -0000 1.275 @@ -167,7 +167,7 @@ name = ewin->icccm.wm_name; if (!name) continue; - if (!strstr(name, match)) + if (!strcasestr(name, match)) continue; } nfound++; ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs