[issue1421] tcsetpgrp

Stathis Kamperis (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Sat Jul 11 11:11:56 PDT 2009


New submission from Stathis Kamperis <ekamperi at gmail.com>:

Hi all.

tcsetpgrp(3) doesn't return EINVAL if an invalid (as in unsupported) process
group id is given. POSIX mandates such a value and our man page advertises that
we do.

I attach a patch that fixes it. I'm running a kernel with the change applied as
I speak. Unless someone objects,  I will push it during the following week.

Best regards,
Stathis

----------
assignedto: Beket
files: tty.c.diff
messages: 6816
nosy: Beket
priority: bug
status: unread
title: tcsetpgrp

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1421>
_____________________________________________________Attachment:
tty.c.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00002.bin
Type: application/octet-stream
Size: 781 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20090711/5beb9ec1/attachment-0017.bin>


More information about the Bugs mailing list