Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
O_TTY_INIT is posix so not having it is a strangeness of dragonfly
Baptiste Daroussin committed 12 years ago
commit 62c5a5b64051161d8063a81531b2b19d0e868859
parent f49962d
1 file changed +1 -1
modified pkg/utils.c
@@ -52,7 +52,7 @@ query_tty_yesno(const char *msg, ...)
	FILE	*tty;
	int	 tty_flags = O_RDWR;

-
#ifdef __FreeBSD__
+
#ifndef __DragonFLy__
	tty_flags |= O_TTY_INIT;
#endif
	tty_fd = open(_PATH_TTY, tty_flags);