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 ?


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 ?

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