On 15.09.2010, at 21:42 , Bram Moolenaar wrote: > >> Hi, >> >> I managed to trace the problem to PTY handling on Mac OS X. It was not >> a problem of setsid, but the order of closing file descriptors. Also, >> I reverted the double-forking patch, as it was not the right solution. >> >> I'm including the patch, which holds the explanation of the problem. >> Bjorn has already applied this patch to MacVim. >> >> Can you please have a look at it? > > Would keeping the slave side fd open cause problems on any other system? > I can't think of a reason, but you never know.
I can't think of a reason, too. On linux, there are no problems with moving the close() to after the child exits. Best, Nikola -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php