Re: [PATCH] Use opaque struct rather than char * in regex.h

2012-04-03 Thread Jim Meyering
Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Hello, all. It's a common problem when program attempts to access > unaligned pointer. On x86 this usually goes unnoticed but on other CPUs > it results in segmentation fault. -Wcast-align is a good way to check > that no such problem occurs. Unfortuna

new modules 'ilogb', 'ilogbf', 'ilogbl'

2012-04-03 Thread Bruno Haible
ilogb() is a variant of logb(). Nearly the same replacement code as for logb(). Notable bugs fixed: The value for zero, infinite, or NaN arguments is broken on NetBSD, OpenBSD, and old AIX 5.1. 2012-04-03 Bruno Haible Tests for module 'ilogbl'. * modules/ilogbl-tests: New fil

workarounds for logb, new modules 'logbf', 'logbl'

2012-04-03 Thread Bruno Haible
The next math function to be supported by gnulib is logb(), with its variants logbf(), logbl(). Notable bugs fixed: glibc, Solaris, and Cygwin 1.5.x return a wrong result when the argument is a denormalized number. 2012-04-03 Bruno Haible Tests for module 'logbl-ieee'. * modu

[PATCH, resend] Handle multibyte codepoint width properly

2012-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
I'm not sure if previous time I sent with or without \0 bugfix. Resending -- Regards Vladimir 'φ-coder/phcoder' Serbinenko diff --git a/lib/argp-fmtstream.c b/lib/argp-fmtstream.c index 70e3eb8..148bfda 100644 --- a/lib/argp-fmtstream.c +++ b/lib/argp-fmtstream.c @@ -29,6 +29,7 @@ #include #i

[PATCH] Use opaque struct rather than char * in regex.h

2012-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello, all. It's a common problem when program attempts to access unaligned pointer. On x86 this usually goes unnoticed but on other CPUs it results in segmentation fault. -Wcast-align is a good way to check that no such problem occurs. Unfortunately regex module breaks the invariants by casting ch