Thanks for installing that.  I should have tested more, there is another
problem too:

/home/jas/src/gnulib/m/gltests/test-sys_wait.h:41: undefined reference to 
`_WSTOPSIG'

We _could_ do this:

-/* The signal that terminated a process is not known posthum.  */
+/* The signal that terminated/stopped a process is not known posthum.  */
 # define WTERMSIG(x) SIGTERM
+# define WSTOPSIG(x) SIGSTOP
 

However SIGSTOP doesn't exist in MinGW headers so it will fail.  The APR
defines SIGSTOP to 19 on Windows according to [1].  Possibly something
that could go into gnulib's signal.h?

Generally, I'm not convinced this approach leads to reliable code, but I
don't have a self test that would fail with this solution.

/Simon
[1] 
http://mail-archives.apache.org/mod_mbox/apr-dev/200305.mbox/%3c030f01c3192b$a56629d0$82db2...@saxon%3e

Reply via email to