Mercurial > hg > octave-lyh > gnulib-hg
changeset 10679:0ad407d2ca34
Remove unneeded code.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 19 Oct 2008 23:51:06 +0200 |
parents | cfcf9353b8fc |
children | 5721d1f9e1ef |
files | ChangeLog m4/posix_spawn.m4 |
diffstat | 2 files changed, 7 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-10-19 Bruno Haible <bruno@clisp.org> + + * m4/posix_spawn.m4 (gl_POSIX_SPAWN_WORKS): Remove unneeded code. + 2008-10-19 Bruno Haible <bruno@clisp.org> * lib/wait-process.c: Include simply <sys/wait.h>.
--- a/m4/posix_spawn.m4 +++ b/m4/posix_spawn.m4 @@ -1,4 +1,4 @@ -# posix_spawn.m4 serial 2 +# posix_spawn.m4 serial 3 dnl Copyright (C) 2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -87,21 +87,12 @@ #ifndef WTERMSIG # define WTERMSIG(x) ((x) & 0x7f) #endif -#ifndef WCOREDUMP -# define WCOREDUMP(x) ((x) & 0x80) +#ifndef WIFEXITED +# define WIFEXITED(x) (WTERMSIG (x) == 0) #endif #ifndef WEXITSTATUS # define WEXITSTATUS(x) (((x) >> 8) & 0xff) #endif -#ifndef WIFSIGNALED -# define WIFSIGNALED(x) (WTERMSIG (x) != 0 && WTERMSIG(x) != 0x7f) -#endif -#ifndef WIFEXITED -# define WIFEXITED(x) (WTERMSIG (x) == 0) -#endif -#ifndef WIFSTOPPED -# define WIFSTOPPED(x) (WTERMSIG (x) == 0x7f) -#endif #define CHILD_PROGRAM_FILENAME "/non/exist/ent"