Re: m4 1.4.14 esyscmd problems on FreeBSD

2010-03-02 Thread Johan van Selst
Hi Bruno, Bruno Haible wrote: > FreeBSD's POSIX_SPAWN_SETSIGMASK is 0x20, FreeBSD's POSIX_SPAWN_SETSCHEDULER > is 0x08. Whereas the gnulib replacement value for POSIX_SPAWN_SETSIGMASK is > 0x08. It seems gnulib's replacement value is in use when it should not. I'm > applying this fix. Thanks for

Re: m4 1.4.14 esyscmd problems on FreeBSD

2010-03-02 Thread Bruno Haible
Hi Johan, Thanks for the added details. > The code actually works fine on FreeBSD 7.2 machines. It's also > fine on OpenBSD (4.7) and MacOS (Darwin 8.11). So it seems something was > changed / broken in FreeBSD 8.0. FreeBSD 8.0 has its own, new implementation of the posix_spawn* functions, where

Re: m4 1.4.14 esyscmd problems on FreeBSD

2010-03-02 Thread Johan van Selst
Johan van Selst wrote: > Eric Blake wrote: > > I'll try and get on a FreeBSD machine and see if I can reproduce this. > > But my initial pre-release testing on BSD did not fail, so I will have to > > figure out what is different between my environment and yours. > I shall check it on different syst

Re: m4 1.4.14 esyscmd problems on FreeBSD

2010-03-01 Thread Johan van Selst
Eric Blake wrote: > Johan, can you find the portion in config.log that shows whether the > native posix_spawn was deemed acceptable or buggy? It looks acceptable: checking for posix_spawn... yes checking whether posix_spawn works... yes checking whether posix_spawn is declared without a macro.

Re: m4 1.4.14 esyscmd problems on FreeBSD

2010-03-01 Thread Eric Blake
[adding bug-gnulib] According to Johan van Selst on 3/1/2010 2:55 PM: > Eric Blake wrote: >> According to Johan van Selst on 3/1/2010 11:02 AM: >>> Sure, it's now up on http://mud.stack.nl/~johans/193-ktrace.txt >>> (output from the test in checks/193.esyscmd) >> Actually, it looks like you posted