Subject: Re: w segfaults when ftpd is using -U option
To: None <lukem@cs.rmit.edu.au>
From: Jaromír Dolecek <dolecek@ibis.cz>
List: current-users
Date: 09/28/2000 19:48:48
Luke Mewburn wrote:
> if you can provide more details (preferably in a PR) then i'll take a
> look at this.

The exact problem is that ftpd uses dummy tty name - ftpPID. Code
in w uses the master tty name to find out which process
it is. Since there is no such master tty, it never finds
any corresponding process. And here we are.

I've written a kludge to recognize special ftp "terminal" and
act accordingly. I'm testing it and about to commit now.

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
@@@@  Wanna a real operating system ? Go and get NetBSD, damn!  @@@@