Bug report
Bug description:
PR #14868 by @chibby0ne changed the code to use ttyname_r but the configure script is checking for ttyname.
There are some old systems, such as OSX Tiger, that don't have ttyname_r (at least not by default), so it'd be nice if ttyname_r was checked for separately with fallback to ttyname.
CPython versions tested on:
3.11, 3.12
Operating systems tested on:
macOS
Linked PRs
Bug report
Bug description:
PR #14868 by @chibby0ne changed the code to use
ttyname_rbut theconfigurescript is checking forttyname.There are some old systems, such as OSX Tiger, that don't have
ttyname_r(at least not by default), so it'd be nice ifttyname_rwas checked for separately with fallback tottyname.CPython versions tested on:
3.11, 3.12
Operating systems tested on:
macOS
Linked PRs