From 2d70b1e637d8fc4dc25f58006ed6f6770ea4bbdd Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 16 Jul 1996 15:34:26 +0000 Subject: (EWOULDBLOCK): Define to work around new libc bug. --- libpipe/pipe.h | 4 +++- proc/wait.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libpipe/pipe.h b/libpipe/pipe.h index 677e0356..cc765dc6 100644 --- a/libpipe/pipe.h +++ b/libpipe/pipe.h @@ -1,6 +1,6 @@ /* Generic one-way pipes - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. Written by Miles Bader @@ -21,6 +21,8 @@ #ifndef __PIPE_H__ #define __PIPE_H__ +#define EWOULDBLOCK EAGAIN /* XXX */ + #include /* For conditions & mutexes */ #include "pq.h" diff --git a/proc/wait.c b/proc/wait.c index 8a42b3ef..60ec58ff 100644 --- a/proc/wait.c +++ b/proc/wait.c @@ -32,6 +32,8 @@ #include "process_S.h" #include +#define EWOULDBLOCK EAGAIN /* XXX */ + /* Return nonzero if a `waitpid' on WAIT_PID by a process in MYPGRP cares about the death of PID/PGRP. */ static inline int -- cgit v1.2.3