www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/20/07:15:19.1

Date: Tue, 20 Apr 1999 12:02:28 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Alain Magloire <alainm AT rcsm DOT ece DOT mcgill DOT ca>
cc: djgpp-workers AT delorie DOT com
Subject: Re: fnmatch: GNU's and ours
In-Reply-To: <199904200018.UAA18743@mccoy2.ECE.McGill.CA>
Message-ID: <Pine.SUN.3.91.990420120205.841H-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 19 Apr 1999, Alain Magloire wrote:

> > > GNU fnmatch uses FNM_CASEFOLD, while we define FNM_NOCASE.  DJ, didn't
> > > you tell that FNM_NOCASE is Posix?  If so, does it mean that GNU's
> > > version doesn't comply?  I find that hard to believe.
> > 
> 
> Extensions, for example my Solaris box has:
> #define FNM_IGNORECASE  0x08    /* Ignore case when making comparisons */

I will add both FNM_CASEFOLD and FNM_IGNORECASE to the non-Posix
portion of fnmatch.h, then.

> It makes porting a nightmare, sigh same goes for glob()

What are the constants used by `glob' on different platforms?  I'd
like to add them as well.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019