cvs commit: src/include fnmatch.h

Alfred Perlstein bright at mu.org
Wed Dec 17 09:32:45 PST 2003


* Jacques A. Vidrine <nectar at FreeBSD.org> [031217 05:23] wrote:
> On Tue, Dec 16, 2003 at 06:54:29PM -0800, Jordan K. Hubbard wrote:
> > jkh         2003/12/16 18:54:29 PST
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     include              fnmatch.h 
> >   Log:
> >   Conformance: Define FNM_NOSYS (see http://www.opengroup.org/onlinepubs/007904975/basedefs/fnmatch.h.html)
> >   
> >   Revision  Changes    Path
> >   1.12      +2 -0      src/include/fnmatch.h
> 
> On Tue, Dec 16, 2003 at 06:56:28PM -0800, Jordan K. Hubbard wrote:
> > jkh         2003/12/16 18:56:28 PST
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     include              regex.h 
> >   Log:
> >   Conformance: Add REG_ENOSYS (see http://www.opengroup.org/onlinepubs/007904975/basedefs/regex.h.html)
> >   
> >   Revision  Changes    Path
> >   1.7       +1 -0      src/include/regex.h
> 
> 
> I don't understand ... why add these defines that are marked
> `obsolescent'?  We don't use them now (clearly), strictly conforming
> applications cannot use them, and they may be widthdrawn from the
> referenced standard in the future.

It is still required for standards conformance.

There may be tools out there that expect to "just work" like so

switch (id) {
...
case FNM_NOSYS:
  str = "FNM_NOSYS";
...
}

and those should "just work".

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at mu.org cell: 408-480-4684
_______________________________________________
cvs-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"


More information about the cvs-src mailing list