> From: [email protected] (Ludovic Courtès) > Cc: Mark H Weaver <[email protected]>, [email protected] > Date: Wed, 02 Jul 2014 11:55:56 +0200 > > Eli Zaretskii <[email protected]> skribis: > > > This function was disabled on Windows because its implementation used > > 'fork' and 'waitpid'. The patch below makes system* available on > > Windows: > > > > --- libguile/simpos.c~0 2014-02-28 23:01:27 +0200 > > +++ libguile/simpos.c 2014-06-30 13:55:11 +0300 > > @@ -45,6 +45,10 @@ > > # include <sys/wait.h> > > #endif > > > > +#ifdef __MINGW32__ > > +#include <process.h> > > Please add a margin comment on this line reading “for waitpid” or > something like that. Also leave a space after the sharp sign. > > > @@ -115,11 +117,17 @@ SCM_DEFINE (scm_system_star, "system*", > > if (scm_is_pair (args)) > > { > > SCM oldint; > > - SCM oldquit; > > SCM sig_ign; > > SCM sigint; > > +#ifdef SIGQUIT > > Please add a margin comment saying that SIGQUIT is undefined on MinGW. > > OK to push with these changes, thank you!
Pushed.
