Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2003 05:39:53 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        "Jacques A. Vidrine" <nectar@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/include fnmatch.h
Message-ID:  <20031217133953.GD60229@elvis.mu.org>
In-Reply-To: <20031217132252.GA6018@madman.celabo.org>
References:  <200312170256.hBH2uSOn062945@repoman.freebsd.org> <200312170254.hBH2sTJx062816@repoman.freebsd.org> <20031217132252.GA6018@madman.celabo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Jacques A. Vidrine <nectar@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@mu.org cell: 408-480-4684



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031217133953.GD60229>