On Saturday, 02 June 2007, at 13:16:28 (-0400),
Enlightenment CVS wrote:
> + regex_t regexp;
> +
> + if(regcomp(®exp, "empower-askpass", 0))
> + {
> + printf("Failed to create regular expression\n");
> + return;
> + }
>
> /*Do initial mode guessing based on executable name and number of args*/
> - if(!strcmp(*argv,"empower-askpass") ||
> !strcmp(*argv,"./empower-askpass"))
> + if(!regexec (®exp, *argv, 0, NULL, 0))
Ummm... man strstr
Michael
--
Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <[EMAIL PROTECTED]>
n + 1, Inc., http://www.nplus1.net/ Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
"If you want to know what god thinks of money, just look at the
people he gave it to." -- Dorothy Parker
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel