Yup, thanks.
Brian
On Jun 6, 2007, at 2:27 AM, Bert Wesarg wrote:
+#ifdef HAVE_REGEXEC
+ args_count = opal_argv_count(options_data[i].compiler_args);
+ for (j = 0 ; j < args_count ; ++j) {
+ if (0 != regcomp(&res, options_data[i].compiler_args
[j], REG_NOSUB)) {
+ return -1;
+ }
+
+ if (0 == regexec(&res, arg, (size_t) 0, NULL, 0)) {
missing regfree(&res);?
+ return i;
+ }
+
+ regfree(&res);
+ }
+#else
regards
Bert
_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel