Subject: Re: 1.5.2 and ksh?
To: NetBSD-current Discussion List <email@example.com>
From: Andrew Brown <firstname.lastname@example.org>
Date: 10/08/2001 18:38:48
>> ksh: j_waitj: tcsetpgrp(10, 20544) failed: Inappropriate ioctl for device
>I've been unable to reproduce it, and I think I've seen it happen after
>just running one ordinary command, or sometimes only after thousands (or
>effectively "never" -- I have a shell working fine now with 3636 on the
reproducing it using a shell is tricky.
the problem is that the ttysleep() in the top half of ttioctl() gets
interrupted and returns ERESTART. ptyioctl() incorrectly interprets
this as "no such ioctl" (see nullioctl(), which returns -1) and ends
up returning ENOTTY.
i'm in the middle of overhauling the ioctl code in the kernel to
eliminate this problem.
|-----< "CODE WARRIOR" >-----|
email@example.com * "ah! i see you have the internet
firstname.lastname@example.org (Andrew Brown) that goes *ping*!"
email@example.com * "information is power -- share the wealth."