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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to