changeset 11449:2005bd38441a

fnmatch depends on mbsrtowcs and mbsinit.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 03 Apr 2009 10:46:35 -0700
parents 91c23a0be4a4
children bbc8b00b08b5
files ChangeLog modules/fnmatch
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-04-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+	* 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  <simon@josefsson.org>
 
 	* m4/ld-version-script.m4: Add FIXME comment.
--- a/modules/fnmatch
+++ b/modules/fnmatch
@@ -16,6 +16,8 @@
 wctype
 memchr
 memcmp
+mbsrtowcs
+mbsinit
 
 configure.ac:
 # No macro. You should also use one of fnmatch-posix or fnmatch-gnu.