Commit 2e69ece5 authored by Jun-ichi Takimoto's avatar Jun-ichi Takimoto

users/20455: do not use posix_openpt() on OpenBSD

parent 43079e5d
2015-08-23 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* users/20455: Src/Modules/zpty.c: do not use posix_openpt()
on OpenBSD
2015-08-22 Barton E. Schaefer <schaefer@zsh.org>
* 36274: Src/Zle/zle_vi.c: clear virangeflag when getvirange()
......
......@@ -154,7 +154,8 @@ getptycmd(char *name)
return NULL;
}
#ifdef USE_DEV_PTMX
/* posix_openpt() seems to have some problem on OpenBSD */
#if defined(USE_DEV_PTMX) && !defined(__OpenBSD__)
#ifdef HAVE_SYS_STROPTS_H
#include <sys/stropts.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment