Re: [PATCH] Allow usage of union wait for wait() functions and macros

2011-10-05 Thread Christopher Faylor
On Wed, Oct 05, 2011 at 11:17:58PM +0200, Christian Franke wrote: >Christopher Faylor wrote: >> On Wed, Oct 05, 2011 at 12:57:44PM +0200, Christian Franke wrote: >>> ... >>> diff --git a/winsup/cygwin/include/cygwin/wait.h >>> b/winsup/cygwin/include/cygwin/wait.h >>> index bed81b7..e4edba2 100644

Re: [PATCH] Allow usage of union wait for wait() functions and macros

2011-10-05 Thread Christian Franke
Christopher Faylor wrote: On Wed, Oct 05, 2011 at 12:57:44PM +0200, Christian Franke wrote: ... diff --git a/winsup/cygwin/include/cygwin/wait.h b/winsup/cygwin/include/cygwin/wait.h index bed81b7..e4edba2 100644 --- a/winsup/cygwin/include/cygwin/wait.h +++ b/winsup/cygwin/include/cygwin/wait.

Re: [PATCH] Allow usage of union wait for wait() functions and macros

2011-10-05 Thread Eric Blake
On 10/05/2011 04:57 AM, Christian Franke wrote: The file include/sys/wait.h provides union wait but neither the wait() functions nor the W*() macros allow to actually use it. Compilation of cdrkit 1.1.11 fails because the configure check assumes that union wait is the status parameter type if its

Re: [PATCH] Allow usage of union wait for wait() functions and macros

2011-10-05 Thread Christopher Faylor
On Wed, Oct 05, 2011 at 12:57:44PM +0200, Christian Franke wrote: >The file include/sys/wait.h provides union wait but neither the wait() >functions nor the W*() macros allow to actually use it. Compilation of >cdrkit 1.1.11 fails because the configure check assumes that union wait >is the statu

[PATCH] Allow usage of union wait for wait() functions and macros

2011-10-05 Thread Christian Franke
The file include/sys/wait.h provides union wait but neither the wait() functions nor the W*() macros allow to actually use it. Compilation of cdrkit 1.1.11 fails because the configure check assumes that union wait is the status parameter type if its declaration exists. The attached patch fixes