From 2794d2491714bc546bc209d6996f6ad97aa8a994 Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Sat, 10 Jan 2004 01:05:38 -0800 Subject: [PATCH] udev - exec status fix for klibc Here is a patch to remove the ifdef's and fix klibc instead. --- klibc_fixups.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'klibc_fixups.h') diff --git a/klibc_fixups.h b/klibc_fixups.h index a89638ead4..37622c86d6 100644 --- a/klibc_fixups.h +++ b/klibc_fixups.h @@ -4,6 +4,11 @@ #define KLIBC_FIXUPS_H +#define WTERMSIG(status) ((status) & 0x7f) +#define WEXITSTATUS(status) (((status) & 0xff00) >> 8) +#define WIFEXITED(status) (WTERMSIG(status) == 0) + + struct group { char *gr_name; /* group name */ char *gr_passwd; /* group password */ -- cgit v1.2.3-54-g00ecf