Re: MacOS problem with checking whether strcasestr works in linear time

2008-06-10 Thread Bruno Haible
Eric Blake wrote: Go ahead and make the change if you feel better about it that way. Thanks. Yes, it feels safer this way. Applied: 2008-06-10 Bruno Haible [EMAIL PROTECTED] * tests/test-memmem.c (main): Reset SIGALRM to default handling before using alarm(). *

Re: MacOS problem with checking whether strcasestr works in linear time

2008-06-10 Thread Ian Beckwith
On Mon, Jun 09, 2008 at 03:34:09PM -0700, Eric Blake wrote: And explicitly resetting SIGALRM in the .m4 files avoided the hang. I'm committing this. Great, that fixed it. Thanks! Ian. -- Ian Beckwith - [EMAIL PROTECTED] - http://erislabs.net/ianb/ GPG fingerprint: AF6C C0F1 1E74 424B BCD5

Re: MacOS problem with checking whether strcasestr works in linear time

2008-06-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 6/10/2008 4:13 AM: | Eric Blake wrote: | Go ahead and make the change if you feel better about it that way. | | Thanks. Yes, it feels safer this way. Applied: But you forgot to include signal.h, and calling signal()

Re: system(), Solaris, and the 'execute' module

2008-06-10 Thread Bruno Haible
Eric Blake wrote on 2008-06-02: | Does the execute module allow distinguishing exits due to signals from | regular exits? M4 is currently documented as treating the sysval macro | differently to allow the user to distinguish between signals, but it looks | like wait_subprocess collapses all

acl: fix link error due to libintl

2008-06-10 Thread Bruno Haible
This fixes a link error of the test-file-has-acl program on Solaris 10 with gettext installed, with Sun cc. The reason of the link error was that - gettext.h contains inline functions pgettext_aux etc. which link against libintl's dcgettext() function. - Sun cc did not optimize away this

test-vc-list-files-git.sh failure

2008-06-10 Thread Bruno Haible
Hi Jim, On Solaris 10, test-vc-list-files-git.sh fails for me: FAIL: test-vc-list-files-git.sh PASS: test-vc-list-files-cvs.sh Here's the execution log with set -x: + grep + GNU diff --version tmpdir=vc-git-4270 + pwd + trap st=$?; cd /home/haible/coreutils-6.12.29-a16be/gnulib-tests rm