mc sets process group differently from shell; forgets to close fd# 3

Denis Vlasenko vda.linux at googlemail.com
Sat Apr 21 00:33:45 UTC 2007


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.
--
vda



More information about the mc-devel mailing list