[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#45104: setsid() breakage



On Fri, Sep 17, 1999 at 04:42:22AM -0400, Roland McGrath wrote:
> Please let me know if that fixes the setsid problem for you or not.
> I have not had a chance to test it yet.

First, you need to #include <hurd/fd.h>, or it won't compile
(reference to _hurd_dtable_lock).

Secondly, the process group is returned correctly.

Then, my example won't still work as under Linux. In particular, the read()
call does not return (I am not even sure it should).

But then I tried the screen program and... it worked! So the patch is at
least a big progress. (However, it won't reattach correctly. Maybe a FIFO
problem, debugging this will be interesting. However, having muliple screens
[^a c to create and ^a n to switch] _does_ work, and this is great! Multiple
consoles, yippieh!)

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org  Check Key server 
Marcus Brinkmann              GNU    http://www.gnu.org    for public PGP Key 
Marcus.Brinkmann@ruhr-uni-bochum.de                        PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/


Reply to: