bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] Port fnmatch to Solaris 8.


From: Paul Eggert
Subject: Re: [PATCH] Port fnmatch to Solaris 8.
Date: Fri, 03 Apr 2009 10:48:09 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Good point. Also, fnmatch.c uses the mbsinit() function; thus a
> dependency to the 'mbsinit' module should also be added.
> ...
> Your commit has not yet appeared at 
> http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=shortlog

Thanks, I forgot to push it.  I installed this instead:

---
 ChangeLog       |    8 ++++++++
 modules/fnmatch |    2 ++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ba15752..2fdb6dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-04-03  Paul Eggert  <address@hidden>
+
+       * modules/fnmatch (Depends-on): Add mbsrtowcs, to fix a porting
+       problem to Solaris 8 encountered with coreutils 7.2, which
+       resulted in a message "fnmatch.c:292: warning: passing argument 4
+       of 'mbsrtowcs' from incompatible pointer type".  Also, add mbsinit
+       at the suggestion of Bruno Haible, since fnmatch uses mbsinit.
+
 2009-04-03  Simon Josefsson  <address@hidden>
 
        * m4/ld-version-script.m4: Add FIXME comment.
diff --git a/modules/fnmatch b/modules/fnmatch
index 3187a7d..5c3d709 100644
--- a/modules/fnmatch
+++ b/modules/fnmatch
@@ -16,6 +16,8 @@ wchar
 wctype
 memchr
 memcmp
+mbsrtowcs
+mbsinit
 
 configure.ac:
 # No macro. You should also use one of fnmatch-posix or fnmatch-gnu.
-- 
1.6.2.1





reply via email to

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