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: [committed] Fix bug in unsupported target list in config.gcc


DJ Delorie <dj@redhat.com> writes:

> > >I'm only worried about compatibility.  Do we use this construct
> > >elsewhere?
> > As far as I can tell, no.  Shall I check this in?
> > 
> > 	* config.gcc: Don't use negated character class in shell case
> > 	clause.
> 
> I'd like an opinion from Alex first.  He's the shell compatibility
> expert.  Alex?

Using ! as the negation character in a /bin/sh character class is very
old.  Personally, I'm sure it's portable.

I would expect that newer shells support the more common ^ as well.

Ian


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