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...? >
It does pass the return value to the parent, else makefiles would never fail... However, I think there is a problem with the Windows port of g_spawn_command_line_sync from GLIB. I just checked, and the exit_status is always 0, even for a program wired to return 1. On Cygwin, it works fine. Cesar _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
