From: Alain Magloire Message-Id: <199904200018.UAA18743@mccoy2.ECE.McGill.CA> Subject: Re: fnmatch: GNU's and ours To: djgpp-workers AT delorie DOT com Date: Mon, 19 Apr 1999 20:18:40 -0400 (EDT) Cc: eliz AT is DOT elta DOT co DOT il In-Reply-To: <199904191745.NAA02062@envy.delorie.com> from "DJ Delorie" at Apr 19, 99 01:45:41 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Precedence: bulk Bonjour > > > > 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 */ It makes porting a nightmare, sigh same goes for glob() fortunately regex and friends are in better shape. > POSIX only defines FNM_NOESCAPE, FNM_PATHNAME, and FNM_PERIOD. > -- au revoir, alain ---- Aussi haut que l'on soit assis, on est toujours assis que sur son cul !!!