From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Mon, 8 Sep 2003 14:11:31 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 190 ************************************************** Sunday 07 September 2003 Number 190 ************************************************** Subjects for today 1 Re: GNU make 3.81rc : Knut St. Osmundsen" 2 Re: Building GNU Aspell 0.50.3 : Alex Newman" 3 Re: GNU make 3.81rc : Andreas Buening **= Email 1 ==========================** Date: Mon, 08 Sep 2003 01:56:38 +0200 From: "Knut St. Osmundsen" Subject: Re: GNU make 3.81rc Andreas Buening wrote: > Knut St. Osmundsen wrote: > > [make] > >>In case this is EMX related it would be good to find out why this >>happens. Could you just take a quick look at how pipes and such are >>handled when spawning child processes? > > > You're joking. ;-) yeah, I'm really a stand-up comedian with very peculiar computer interests. ;) > For starting child processes I do a lot of fcntl() calls with and > without FD_CLOEXEC so I really can't say which handle is lost. ok, ok, ok. we're all lazy. So, I've peeked into your code. What about closing save_stdout and save_stdin for a start? (job.c, function child_execute_job().) > It would be very helpful if you could provide me with a sample > Makefile which shows this effect. I will in a couple of days, it'll be in the LIBC sources :) Kind Regards, knut **= Email 2 ==========================** Date: Mon, 08 Sep 2003 19:23:20 +1000 (EST) From: "Alex Newman" Subject: Re: Building GNU Aspell 0.50.3 On Sun, 07 Sep 2003 18:09:24 -0800, Dave and Natalie wrote: > On Sun, 07 Sep 2003 20:08:33 -0400, Lewis G Rosenthal wrote: > > >>>>Also, for some reason, it looks as though c:\emx\bin is getting > >>>>concatenated to c:\emin. Any thoughts? > >>>> > >>>> > >>>The \b is being interpreted as a backspace, deleting the 'x'? > >>> > >>> > >> > >>My workaround for that is the set path=x/bin;x/usr/bin;, etc., in a > >>rexx script that starts sh (or ksh, or whatever). > >> > > Another option is > PATH=`cmd.exe /c "echo %PATH%" | sed -e 's at \\\\ at / at g'` Much more elegant :). Alex. **= Email 3 ==========================** Date: Mon, 08 Sep 2003 20:46:41 +0200 From: Andreas Buening Subject: Re: GNU make 3.81rc Knut St. Osmundsen wrote: [snip] > ok, ok, ok. we're all lazy. So, I've peeked into your code. > What about closing save_stdout and save_stdin for a start? (job.c, > function child_execute_job().) Ah, yes I FD_CLOEXEC them but I don't close them. I've just uploaded a modified version to http://unix.os2site.com/pub/binary/make/make-3_81rc1-r2-bin.zip Hope that helps. Thanks! Andreas