mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-26 02:30:58 +01:00
41666: zpty compatibility for OpenBSD
This commit is contained in:
parent
2ef3dff65a
commit
9f2271168d
2 changed files with 9 additions and 1 deletions
|
|
@ -254,7 +254,12 @@ get_pty(int master, int *retfd)
|
|||
#elif defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
static char char1[] = "pqrsPQRS";
|
||||
static char char2[] = "0123456789abcdefghijklmnopqrstuv";
|
||||
#else /* __FreeBSD__ || __DragonFly__ */
|
||||
#elif defined(__OpenBSD__)
|
||||
static char char1[] = "pqrstuvwxyzPQRST";
|
||||
static char char2[] = "0123456789"
|
||||
"abcdefghijklmnopqrstuvwxyz"
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||
#else /* __FreeBSD__ || __DragonFly__ || __OpenBSD*/
|
||||
static char char1[] = "pqrstuvwxyzPQRST";
|
||||
static char char2[] = "0123456789abcdef";
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue