[Rpm-maint] [rpm-software-management/rpm] RFC: Test for ctermid() existence. (#345)

Panu Matilainen notifications at github.com
Fri Nov 3 08:39:37 UTC 2017


I think it might be actually better to just not export posix.ctermid() on systems that don't support it. I don't see much good coming out of claiming the controlling terminal is /dev/tty on a system that doesn't have terminals at all.

And yeah a bit of rationale as for the why part is in order, because ctermid() is mandated by POSIX.1-2001 and POSIX.1-2008.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/345#issuecomment-341646146
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20171103/1cb85728/attachment.html>


More information about the Rpm-maint mailing list