[Konsole-devel] [Bug 42986] chownpty failed for /dev/ptyp0::/dev/ttypp0 in KDE-3.0

Waldo Bastian bastian at kde.org
Mon Feb 17 22:08:47 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=42986     




------- Additional Comments From bastian at kde.org  2003-02-17 23:08 -------
Subject: Re: [Konsole-devel]  chownpty failed for /dev/ptyp0::/dev/ttypp0 in KDE-3.0

On Monday 17 February 2003 15:26, Adriaan De Groot wrote:
> The problem stems from the fact that FBSD processes have plenty of FDs
> open. So while 0,1,2 are stdin, stdout, stderr, as on Linux, FBSD KDE
> processes also have 3...12 (or so) open for all the pipes and streams and
> whatnot that they use.

dup2 is supposed to close the file descriptor if it was still open. I was told 
that on FBSD fd 3 is some special sort of kernel communication pipe (?) and 
that it can't be closed for that reason. I changed it to 42 afterwards and 
I'm sure that Oswald has changed/will change it to something more flexible.

Cheers,
Waldo



More information about the konsole-devel mailing list