Re: open-process and related functions for MinGW Guile

2014-09-15 Thread Eli Zaretskii
Ping! It's been a month since the last exchange, and more than a year since I started working on this. Can we please pick up where this was left off, and resolve whatever issues remain? Please? > Date: Fri, 15 Aug 2014 10:07:50 +0300 > From: Eli Zaretskii > Cc: l...@gnu.org, guile-devel@gnu.or

Re: open-process and related functions for MinGW Guile

2014-08-15 Thread Eli Zaretskii
> Date: Tue, 12 Aug 2014 22:44:03 +0300 > From: Eli Zaretskii > Cc: l...@gnu.org, guile-devel@gnu.org > > > > + /* If they ask for the Unix system shell, try to find it on PATH. */ > > > + if (c_strcasecmp (program, "/bin/sh") == 0) > > > +{ > > > + bin_sh_requested = 1; > > > +

Re: open-process and related functions for MinGW Guile

2014-08-13 Thread Eli Zaretskii
> Date: Tue, 12 Aug 2014 22:44:03 +0300 > From: Eli Zaretskii > Cc: l...@gnu.org, guile-devel@gnu.org > > > From: Mark H Weaver > > Cc: l...@gnu.org, guile-devel@gnu.org > > Date: Tue, 12 Aug 2014 14:08:48 -0400 > > > > > +/* The funny conditional avoids a compiler warning in status:stop_sig.

Re: open-process and related functions for MinGW Guile

2014-08-12 Thread Eli Zaretskii
> From: Mark H Weaver > Cc: l...@gnu.org, guile-devel@gnu.org > Date: Tue, 12 Aug 2014 14:08:48 -0400 > > > +# define getuid() (500) /* Local Administrator */ > > +# define getgid() (513) /* None */ > > +# define setuid(u) (0) > > +# define setgid(g)

Re: open-process and related functions for MinGW Guile

2014-08-12 Thread Eli Zaretskii
> From: Mark H Weaver > Cc: l...@gnu.org, guile-devel@gnu.org > Date: Tue, 12 Aug 2014 14:08:48 -0400 > > > +/* The funny conditional avoids a compiler warning in status:stop_sig. */ > > +# define WIFSTOPPED(stat_val) ((stat_val) == (stat_val) ? 0 : 0) > > What is the warning? That stat_val

Re: open-process and related functions for MinGW Guile

2014-08-12 Thread Mark H Weaver
Hi Eli, Thanks very much for working on this, and for your patience. Eli Zaretskii writes: > Here's the updated patch: > > --- libguile/posix.c.~1~ 2014-02-28 22:01:27.0 +0200 > +++ libguile/posix.c 2014-08-08 17:27:50.339267200 +0300 > @@ -84,6 +84,42 @@ > #if HAVE_SYS_WAIT_H >

Re: open-process and related functions for MinGW Guile

2014-08-09 Thread Eli Zaretskii
> Date: Mon, 30 Jun 2014 05:49:52 +0300 > From: Eli Zaretskii > Cc: m...@netris.org, guile-devel@gnu.org Ping! I've been waiting for comments from Mark, but those never came. Meanwhile I implemented the changes requested by Ludo, see the updated patch below. I hope this will be finally admitte

Re: open-process and related functions for MinGW Guile

2014-06-29 Thread Eli Zaretskii
> From: l...@gnu.org (Ludovic Courtès) > Cc: Mark H Weaver , guile-devel@gnu.org > Date: Sun, 29 Jun 2014 22:21:28 +0200 > > > +#ifdef __MINGW32__ > > + > > +#include > > + > > +# define WEXITSTATUS(stat_val) ((stat_val) & 255) > > +# define WIFEXITED(stat_val) (((stat_val) & 0xC000) == 0)

Re: open-process and related functions for MinGW Guile

2014-06-29 Thread Ludovic Courtès
Hello, Eli, Eli Zaretskii skribis: > This is a sequel to the thread that started here: > > http://lists.gnu.org/archive/html/guile-devel/2014-02/msg00047.html > > As agreed with Mark at the end of that thread, please find below > patches that enable open-process and friends in the MinGW build

open-process and related functions for MinGW Guile

2014-06-29 Thread Eli Zaretskii
This is a sequel to the thread that started here: http://lists.gnu.org/archive/html/guile-devel/2014-02/msg00047.html As agreed with Mark at the end of that thread, please find below patches that enable open-process and friends in the MinGW build of Guile. The main changes since the patches I