This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp] Fix libgomp OMP_* env var handling


On Wed, 2006-08-16 at 07:41 -0400, Jakub Jelinek wrote:
> Hi!
> 
> The OpenMP 2.5 standard says in chapter 4 that the values of the
> environment vars (of course unlike the variable names themselves)
> are case insensitive and can have leading and/or trailing whitespace
> (and in the case of OMP_SCHEDULE can have whitespace before
> and/or after the comma).
> The following patch fixes it, ok for trunk?

My only problem is how portable is strncasecmp?  It is a non standard
function and IIRC we don't link libgomp against liberity either.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]