slang-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] Re: mc sets process group differently from shell; forgets to close fd# 3


On Sat, 21 Apr 2007, Denis Vlasenko wrote:

On Friday 20 April 2007 23:29, Pavel Tsekov wrote:
Big one (actually, I think it's a bug): stray fd# opened
to controlling terminal.

The descriptor to /dev/tty is created by S-Lang in SLang_init_tty().
Maybe it would make sense to mark it FD_CLOEXEC ?

Absolutely.

We could do this in MC itself but I wonder if there is any
reason why this isn't done in S-Lang. Maybe the S-Lang developer
could shed some light ?




[2007 date index] [2007 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]