Skip to content

configure is checking for ttyname but code is using ttyname_r #127614

Closed
@glebm

Description

@glebm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions