-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pty.c: Restore build on systems without cfmakeraw(3) (re: 5a2e7da)
The OpenSUSE patch uses cfmakeraw(3) which is on Linux, BSD and macOS, but not portable. The build failed on Solaris and variants. src/cmd/builtin/features/pty: - Add simple test for the presence of cfmakeraw(3). I love iffe. src/cmd/builtin/pty.c: - Add POSIX compliant fallback flaggery for systems without it.
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters