Subject: changed files: 'src/include fnmatch.h'
To: Chris G. Demetriou <>
From: J.T. Conklin <>
List: source-changes
Date: 11/05/1993 17:14:49
Chris> Modified Files:
Chris> 	fnmatch.h 
Chris> Log Message:
Chris> update to latest version; don't proto fnmatch() unless _POSIX_SOURCE
Chris> not defined.

I think that this is a silly (albeit relatively benign) change.  Since
the <fnmatch.h> header isn't defined by POSIX.1, a strictly complying
POSIX.1 program cannot include it.

Fnmatch() is specified by POSIX.2.  I would expect any extensions
above and beyond that standard (for example, GNU's fnmatch has
several) to be protected by a:

	#ifndef _POSIX_C_SOURCE

I don't see why the value of _POSIX_SOURCE should have any bearing on
whether fnmatch() should be declared.