From 8b3e66baac771a4cd99371e371160861b35773b0 Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Wed, 4 Aug 2004 11:45:19 +0000 Subject: [PATCH] 0.8.13.22: Been a while since I've done this... ... add forgotten waitpid-macros.c file from previous commit --- contrib/sb-posix/alien/waitpid-macros.c | 29 +++++++++++++++++++++++++++++ version.lisp-expr | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 contrib/sb-posix/alien/waitpid-macros.c diff --git a/contrib/sb-posix/alien/waitpid-macros.c b/contrib/sb-posix/alien/waitpid-macros.c new file mode 100644 index 0000000..10eee01 --- /dev/null +++ b/contrib/sb-posix/alien/waitpid-macros.c @@ -0,0 +1,29 @@ +#include +#include + +int wifexited(int status) { + return WIFEXITED(status); +} + +int wexitstatus(int status) { + return WEXITSTATUS(status); +} + +int wifsignaled(int status) { + return WIFSIGNALED(status); +} + +int wtermsig(int status) { + return WTERMSIG(status); +} + +int wifstopped(int status) { + return WIFSTOPPED(status); +} + +int wstopsig(int status) { + return WSTOPSIG(status); +} + +/* FIXME: POSIX also defines WIFCONTINUED, but that appears not to + exist on at least Linux... */ diff --git a/version.lisp-expr b/version.lisp-expr index f6c9655..e815118 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.8.13.22" +"0.8.13.23" -- 1.7.10.4