[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: New MinGW patches for gEDA/gaf



Peter TB Brett wrote:
> On Friday 16 November 2007 21:01:47 Cesar Strauss wrote:
>> * MinGW does not have sys/wait.h.
>> https://sourceforge.net/tracker/?func=detail&atid=818428&aid=1833122&group_
>> id=161080
>>
>>
>> Minor cosmetic issue. I also suggested that the missing macros could be
>> defined in global.h, instead of commenting out code.
> 
> That assumes that Windows actually does something sensible with the return 
> value, which is by no means a given...?
> 

This patch of mine is wrong. WIFEXITED means the child terminated 
normally. It has nothing to do with the child's actual return value 
(this would be returned by the WEXITSTATUS macro). As far as I know, 
WIFEXITED, like WIFSIGNALED, has no counterpart on Windows. I'll update 
my patch to reflect that.

Regards,
Cesar



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev