bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fnmatch: remove incompatibility between fnmatch-posix and fnmatch-gn


From: Bruno Haible
Subject: Re: fnmatch: remove incompatibility between fnmatch-posix and fnmatch-gnu
Date: Sat, 2 May 2009 13:44:22 +0200
User-agent: KMail/1.9.9

And here's a proposed simplification: Deprecate the 'fnmatch-posix'
module, and let the 'fnmatch' module take over its role. (Like we do
for the 'getpass' vs. 'getpass-gnu' modules.)

Any objections?


2009-05-02  Bruno Haible  <address@hidden>

        * modules/fnmatch (Description, configure.ac): Taken from
        fnmatch-posix.
        * modules/fnmatch-posix: Turn into a symbolic reference to the
        'fnmatch' module, and deprecate.
        * doc/posix-functions/fnmatch.texi: Mention the fnmatch module.

--- modules/fnmatch.orig        2009-05-02 13:42:19.000000000 +0200
+++ modules/fnmatch     2009-05-02 13:37:56.000000000 +0200
@@ -1,5 +1,5 @@
 Description:
-GNU implementation of the fnmatch() function.
+fnmatch() function: wildcard matching.
 
 Files:
 lib/fnmatch.in.h
@@ -20,7 +20,7 @@
 mbsinit
 
 configure.ac:
-# No macro. You should also use one of fnmatch-posix or fnmatch-gnu.
+gl_FUNC_FNMATCH_POSIX
 
 Makefile.am:
 BUILT_SOURCES += $(FNMATCH_H)
--- modules/fnmatch-posix.orig  2009-05-02 13:42:19.000000000 +0200
+++ modules/fnmatch-posix       2009-05-02 13:39:02.000000000 +0200
@@ -1,13 +1,18 @@
 Description:
 fnmatch() function: wildcard matching.
 
+Status:
+obsolete
+
+Notice:
+This module is obsolete. Use the module 'fnmatch' instead.
+
 Files:
 
 Depends-on:
 fnmatch
 
 configure.ac:
-gl_FUNC_FNMATCH_POSIX
 
 Makefile.am:
 
--- doc/posix-functions/fnmatch.texi.orig       2009-05-02 13:42:19.000000000 
+0200
+++ doc/posix-functions/fnmatch.texi    2009-05-02 13:36:38.000000000 +0200
@@ -4,7 +4,7 @@
 
 POSIX specification: 
@url{http://www.opengroup.org/onlinepubs/9699919799/functions/fnmatch.html}
 
-Gnulib module: fnmatch-posix or fnmatch-gnu
+Gnulib module: fnmatch or fnmatch-gnu
 
 Portability problems fixed by Gnulib:
 @itemize




reply via email to

[Prev in Thread] Current Thread [Next in Thread]