deprecated TIOCSPGRP and TIOCGPGRP ioctl command

Warner Losh imp at bsdimp.com
Thu Nov 10 23:30:01 UTC 2011


On Nov 10, 2011, at 4:18 PM, Peter Wemm wrote:

> On Thu, Nov 10, 2011 at 3:06 PM, Giovanni Trematerra <gianni at freebsd.org> wrote:
>> Thank you Peter, just last question on this.
>> Having just one ioctl function for both pipe and fifo, would be a problem
>> having TIOCSPGRP and TIOCGPGRP implemented for fifo?
> 
> If the code is common, I can't imagine a plausible scenario where it
> could cause a new problem.

Yea, at most I could imagine someone writing an autoconfig script or something that depends on this difference.  However, I doubt there's any autoconfig scripts that rely on being able to set them on a pipe, but not on a fifo that would break.

Oh, wait, that's assuming autoconf is sane, which may exceed the evidence on the record...

Warner



More information about the freebsd-arch mailing list