Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit mbrtowc

2008-12-22 Thread Alan Hourihane
On Mon, 2008-12-22 at 03:55 +0100, Bruno Haible wrote: Hello Sergey, Alan, On 2008-10-30 I wrote: I'll therefore extend the modules in a way that they work also on older systems without HAVE_MBRTOWC. This is done. When you do a gnulib-tool --update from texinfo, you should get all

Re: MINT

2008-12-22 Thread Bruno Haible
Alan Hourihane wrote: I have more patches to gnulib for MINT. Shall I just file them as bugs ? It depends how serious MINT as a platform is. What is MINT at all? Why does it lack basic functions like mbrtowc, standardized in ANSI C Amendment 1? Is this platform in active development? If so, it

Re: Alan Hourihane: [bug #24687] implicit usage of mbsinit mbrtowc

2008-12-22 Thread Sergey Poznyakoff
Bruno Haible br...@clisp.org ha escrit: This is done. Thanks, Bruno! Regards, Sergey

use mbrtowc replacement

2008-12-22 Thread Bruno Haible
Hi, Now, here is a patch to make use of the mbrtowc emulation on platforms that lack it (essentially HP-UX 11.00, IRIX 6.5, Solaris 2.6). It causes an increase of code size on these platforms. But this is actually a bug fix: gnulib code was assuming that is !HAVE_MBRTOWC, there are only unibyte

Re: MINT

2008-12-22 Thread Alan Hourihane
On Mon, 2008-12-22 at 12:41 +0100, Bruno Haible wrote: Alan Hourihane wrote: Did you try to run the complete gnulib unit tests? $ ./gnulib-tool --test --with-tests I have run individual tests, but I can run the whole suite. In your situation, it is easier (less time consuming) to

Re: update regex dependencies

2008-12-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paolo Bonzini on 12/22/2008 2:59 AM: I'm committing this: 2008-12-22 Paolo Bonzini bonz...@gnu.org * modules/regex: Request emulations for the mb*/wc* functions we need. * m4/regex.m4: Don't look for those

Re: new module 'mbrlen'

2008-12-22 Thread Bruno Haible
New module 'mbrlen'. mbrlen() has essentially the same set of platform dependent bugs as mbrtowc(). This patch provides a workaround: 2008-12-22 Bruno Haible br...@clisp.org Work around mbrlen() bugs on AIX, HP-UX, OSF/1, Solaris. * m4/mbrlen.m4 (gl_FUNC_MBRLEN): Set

a tweak for Haiku

2008-12-22 Thread Bruno Haible
I had this in my pipe for Haiku since 2008-11-16. Applied now: 2008-12-22 Bruno Haible br...@clisp.org * m4/locale-fr.m4 (gt_LOCALE_FR_UTF8): Treat Haiku like BeOS. --- m4/locale-fr.m4.orig2008-12-23 00:48:01.0 +0100 +++ m4/locale-fr.m4 2008-12-23

statvfs on glibc platforms

2008-12-22 Thread Bruno Haible
Hi Jim, The Haiku port prompted me to look at this comment. Looking at the sources of statvfs() for the various glibc platforms, I found that it's not BeOS which is special, but Linux: It's only the Linux specific implementation which looks at /proc/mounts. OK to commit this update? 2008-12-22

doc of wchar_t functions

2008-12-22 Thread Bruno Haible
The doc of many functions that take a wchar_t argument or return wchar_t mentions the danger of using them on platforms where wchar_t is only a 16-bit type. This patch applies this boilerplate warnings to more functions. 2008-12-22 Bruno Haible br...@clisp.org *

Re: a tweak for Haiku

2008-12-22 Thread Ben Pfaff
Bruno Haible br...@clisp.org writes: @@ -133,10 +133,10 @@ struct tm t; char buf[16]; int main () { - /* On BeOS, locales are not implemented in libc. Rather, libintl + /* On BeOS nd Haiku, locales are not implemented in libc. Rather, libintl s/nd/and/ imitates locale

Re: automatically preventing merge commits on master

2008-12-22 Thread Bruno Haible
Hi Jim, On 2008-10-13 you wrote: Does anyone object to my installing a server-side hook that would prevent pushing merge commits on master? In our experience here (with gnulib.git), pushing a merge commit is always unintentional. The one that I pushed today was unintentional again. Sorry