RE: [PATCH] Refactor and merge child_execute_job() code, new attempt

2014-03-10 Thread Pavel Fedin
Hello! I like this patch; it looks like a good improvement! It works fine for me on UNIX systems. Only one comment: - /* undo CLOSE_ON_EXEC() after the child process has been started */ + /* undo FD_CLOEXEC after the child process has been started */ I think this change

[PATCH] Refactor and merge child_execute_job() code, new attempt

2014-03-05 Thread Pavel Fedin
Hello, Paul! Sorry for so long delay, i'm really quite busy, however i have found some time to get back to this. Please review the new version. This is actually a repost. I have posted this message a week ago and got no response. I suggest it fell into old thread, so you have missed it.

Re: [PATCH] Refactor and merge child_execute_job() code

2014-02-26 Thread Pavel Fedin
Hello, Paul! Sorry for so long delay, i'm really quite busy, however i have found some time to get back to this. Please review the new version. Monday, February 3, 2014, 0:30:26 you wrote: I prefer the macro form as well; please keep it that way. Done. Also, I'm not sure I like the

Re: [PATCH] Refactor and merge child_execute_job() code

2014-02-03 Thread Pavel Fedin
Hello, Paul! I have read your suggestions and i think i can implement them. But, sorry, not earlier than weekend. Starting to be extremely busy... -- С уважением, Pavel mailto:pavel_fe...@mail.ru ___ Bug-make mailing

Re: [PATCH] Refactor and merge child_execute_job() code

2014-01-30 Thread Eli Zaretskii
Date: Thu, 30 Jan 2014 01:16:34 +0400 From: Pavel Fedin pavel_fe...@mail.ru Hello! This is my long-promised refactor. After this it's much easier to apply runtime selection between spawn() and fork() on Cygwin, because all differences are now consolidated in two functions:

Re: [PATCH] Refactor and merge child_execute_job() code

2014-01-30 Thread Paul Smith
On Thu, 2014-01-30 at 19:29 +0200, Eli Zaretskii wrote: I will review the patch some more in a day or two. (And I hope Paul will as well.) Yes, definitely, but it won't be until the weekend I expect. Life is intruding on hacking this month. ___

Re: [PATCH] Refactor and merge child_execute_job() code

2014-01-30 Thread Eli Zaretskii
From: Paul Smith psm...@gnu.org Cc: Pavel Fedin pavel_fe...@mail.ru, bug-make@gnu.org Date: Thu, 30 Jan 2014 12:33:41 -0500 On Thu, 2014-01-30 at 19:29 +0200, Eli Zaretskii wrote: I will review the patch some more in a day or two. (And I hope Paul will as well.) Yes, definitely, but

[PATCH] Refactor and merge child_execute_job() code

2014-01-29 Thread Pavel Fedin
Hello! This is my long-promised refactor. After this it's much easier to apply runtime selection between spawn() and fork() on Cygwin, because all differences are now consolidated in two functions: child_execute_process() and exec_command(). Insome critical POSIX-specific

[PATCH] Refactor and merge child_execute_job() code - small update

2014-01-29 Thread Pavel Fedin
Ooops, sorry. It's really too late here, so i'm a bit impatient. Forgot to regenerate .diff after last-minute change. Better use this version. In it return type of child_execute_job() is changed from int to pid_t, as it should be. -- С уважением, Pavel