Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sedwards
Copy link
Owner

Address failures with recent macOS builds

  1. Unix98 PTY (lines 26-85) - Uses /dev/ptmx with grantpt() - This is what macOS needs
  2. openpty() (lines 87-125) - Alternative modern method
  3. BSD fallback (lines 127+) - Old /dev/ptyXY style - This is what's being used (doesn't work on macOS)

⏺ The meson build doesn't check for HAVE_GRANTPT or HAVE_OPENPTY, so the code falls back to the old BSD pty method.

 Address failures with recent macOS builds

  1. Unix98 PTY (lines 26-85) - Uses /dev/ptmx with grantpt() - This is what macOS needs
  2. openpty() (lines 87-125) - Alternative modern method
  3. BSD fallback (lines 127+) - Old /dev/ptyXY style - This is what's being used (doesn't work on macOS)

⏺ The meson build doesn't check for HAVE_GRANTPT or HAVE_OPENPTY, so the code falls back to the old BSD pty method.
@sedwards sedwards merged commit e737e64 into sedwards:master Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant