stdlib self test: error: 'SIGTERM' undeclared

2010-09-26 Thread Simon Josefsson
This command: gnulib-tool --create-testdir --dir m --with-tests stdlib; cd m ; ./configure --host=i586-mingw32msvc --build=i686-pc-linux-gnu ; make results in: test-stdlib.c: In function ‘main’: test-stdlib.c:63: error: ‘SIGTERM’ undeclared (first use in this function) test-stdlib.c:63: error:

Re: pmcabe2html example rule question

2010-09-26 Thread Simon Josefsson
Reuben Thomas writes: > Given the example rule, the cyclo-${PACKAGE}.html file must be deleted > in order to be remade, as the rule's target is itself > cyclo-${PACKAGE}.html, with no dependencies. It would be more useful > if either the rule depended on the sources (best), or if the target of >

Re: Mentions of GSS in gnulib.texi

2010-09-26 Thread Simon Josefsson
Reuben Thomas writes: > On 21 September 2010 21:51, Simon Josefsson wrote: >> Thanks, applied. I didn't see a patch for ChangeLog in there though? I >> added it myself and pushed it separately. > > I used git format-patch, which seemed to put my ChangeLog entry at the > top. I see that that is

Re: [PATCH] tests: fix unportable assumption on sys/wait.h

2010-09-26 Thread Bruno Haible
Hi Eric, Eric Blake wrote on 2010-09-17: > * tests/test-sys_wait.c (main): Relax test. > * tests/test-stdlib.c (main): Likewise. I have another change to make to this test. But I don't want to do it in two files. So first let's reduce the code duplication. 2010-09-26 Bruno Haible st

Re: stdlib self test: error: 'SIGTERM' undeclared

2010-09-26 Thread Bruno Haible
Hi Simon, > gnulib-tool --create-testdir --dir m --with-tests stdlib; cd m ; ./configure > --host=i586-mingw32msvc --build=i686-pc-linux-gnu ; make > > results in: > > test-stdlib.c: In function ‘main’: > test-stdlib.c:63: error: ‘SIGTERM’ undeclared (first use in this function) > test-stdlib.c

Re: stdlib self test: error: 'SIGTERM' undeclared

2010-09-26 Thread Simon Josefsson
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/stopp

Re: stdlib self test: error: 'SIGTERM' undeclared

2010-09-26 Thread Bruno Haible
Simon Josefsson wrote: > 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' Yes, I see this as well. My recipe to reproduce it is $ ./gnulib-tool --create-testdir --

Re: author names in .c files

2010-09-26 Thread Simon Josefsson
Jim Meyering writes: > Eric Blake wrote: >> Ralf just pointed this out to me: >> http://producingoss.com/en/producingoss.html#territoriality >> >> For an example of something that looks like territoriality, notice how >> many tests/test-*.c files are attached to my name: >> >> $ git grep 'Eric Bl

Re: stdlib self test: error: 'SIGTERM' undeclared

2010-09-26 Thread Simon Josefsson
Bruno Haible writes: >> 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