| www.delorie.com/archives/browse.cgi | search |
| From: | Marc Singer <nbn.nbn.com!sapien!elf> |
| Subject: | Incomplete Macros in wait.h |
| To: | nbn.nbn.com!sapien!sun.soe.clarkson.edu!djgpp (DJGPP List Alias) |
| Date: | Wed, 16 Aug 1995 18:01:48 -0700 (PDT) |
I believe that these two macros in sys/wait.h are missing their
arguments. In the B2 copy of the file reads:
#define WIFSIGNALED ( ((stat_val) & 0xff00))
#define WTERMSIG ( (stat_val) & 0x00ff)
I changed them to:
#define WIFSIGNALED(stat_val) ( ((stat_val) & 0xff00))
#define WTERMSIG(stat_val) ( (stat_val) & 0x00ff)
----------------------------------------------------------------------
Marc Singer | "... but when you eat this ... pear, you
elf AT netcom DOT com | are rarely aware of the fact that it was
or elf AT sapien DOT com | ... plucked from the branch of this ...
< My comments are my own. > | pear tree." -- Charlie V.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |