Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Bert Wesarg (wesarg_at_[hidden])
Date: 2007-06-06 04:27:43


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